Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754946AbdCGOAX (ORCPT ); Tue, 7 Mar 2017 09:00:23 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:40573 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755409AbdCGN76 (ORCPT ); Tue, 7 Mar 2017 08:59:58 -0500 From: Dave Gerlach To: Ulf Hansson , "Rafael J. Wysocki" , Kevin Hilman , Santosh Shilimkar , Rob Herring CC: , , , , Nishanth Menon , Dave Gerlach , Keerthy , Russell King , Tero Kristo , Sudeep Holla Subject: [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct Date: Tue, 7 Mar 2017 04:22:30 -0600 Message-ID: <1488882154-21485-2-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488882154-21485-1-git-send-email-d-gerlach@ti.com> References: <1488882154-21485-1-git-send-email-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 Content-Length: 763 Lines: 25 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 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