From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752719AbdDDCuF (ORCPT ); Mon, 3 Apr 2017 22:50:05 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:54607 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbdDDCuA (ORCPT ); Mon, 3 Apr 2017 22:50:00 -0400 From: Dave Gerlach To: Ulf Hansson , "Rafael J . Wysocki" , Kevin Hilman , Santosh Shilimkar , Rob Herring , Arnd Bergmann CC: , , , , Nishanth Menon , Dave Gerlach , Keerthy , Russell King , Tero Kristo , Sudeep Holla , Olof Johansson Subject: [PATCH v5 1/5] PM / Domains: Add generic data pointer to genpd data struct Date: Mon, 3 Apr 2017 21:47:28 -0500 Message-ID: <20170404024732.32699-2-d-gerlach@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170404024732.32699-1-d-gerlach@ti.com> References: <20170404024732.32699-1-d-gerlach@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a void *data pointer to struct generic_pm_domain_data. Because this exists for each device associated with a genpd it will allow us to assign per-device data if needed on a platform for control of that specific device. Acked-by: Ulf Hansson Acked-by: Kevin Hilman Signed-off-by: Dave Gerlach --- include/linux/pm_domain.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index 5339ed5bd6f9..b213d22daefd 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -117,6 +117,7 @@ struct generic_pm_domain_data { struct pm_domain_data base; struct gpd_timing_data td; struct notifier_block nb; + void *data; }; #ifdef CONFIG_PM_GENERIC_DOMAINS -- 2.11.0