Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935421AbcJYJsH (ORCPT ); Tue, 25 Oct 2016 05:48:07 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38335 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751044AbcJYJsF (ORCPT ); Tue, 25 Oct 2016 05:48:05 -0400 MIME-Version: 1.0 In-Reply-To: <20161019203347.17893-2-d-gerlach@ti.com> References: <20161019203347.17893-1-d-gerlach@ti.com> <20161019203347.17893-2-d-gerlach@ti.com> From: Ulf Hansson Date: Tue, 25 Oct 2016 11:48:02 +0200 Message-ID: Subject: Re: [PATCH v2 1/4] PM / Domains: Add generic data pointer to genpd data struct To: Dave Gerlach Cc: "Rafael J . Wysocki" , Kevin Hilman , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , Nishanth Menon , Keerthy , Russell King , Tero Kristo , Sudeep Holla , Santosh Shilimkar Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 32 On 19 October 2016 at 22:33, Dave Gerlach wrote: > 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. > > Signed-off-by: Dave Gerlach Acked-by: Ulf Hansson Kind regards Uffe > --- > 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 a09fe5c009c8..9c0a897fe605 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -105,6 +105,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.9.3 >