From patchwork Fri Nov 14 07:41:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 40800 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 196F2240ED for ; Fri, 14 Nov 2014 07:41:52 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id b13sf8582091wgh.2 for ; Thu, 13 Nov 2014 23:41:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=LmDqZ3wsVNa9E6+ieVMsuwUP/0Hsy7304wI9hE8ZOLc=; b=FwtE3DcG8JfksikgYWd6wJ3E9z9Xv6esoKNFiML9LXzRbQ1qN5UAefxdo87OqvpnGJ C0HGGYe0xcKjJlkmJYfxoqq+CqK/ItP7LN7FiaklZRpWYWjHPfIARbWzcFttk+avBTb+ 8j8LvTOWi1yWBDV/9onCjY6xTQKjPpNHee26V4Ib27LZ44+/urZ0VrXrkTNz3QPgOrN1 yJSO8RHXnjdh33tPY7RHp2pn+2ExFVX4BGFI31USo++KI42RiXSNeLM+i5yPobWDthMj iUGxo7gkrc3kU9LgfTaYqIggnoHcRY0Ndje5pgJ4Z+HKl/l/oMIYNgt1QOcxT0UDv4iC 4Npw== X-Gm-Message-State: ALoCoQlGm+89tV+CgQle681gecS0TIUZd6T4okDsVSxO8+FJ5YP8iFkjucnjt2mNMc07oUbBK2oG X-Received: by 10.152.6.4 with SMTP id w4mr58049law.7.1415950910949; Thu, 13 Nov 2014 23:41:50 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.133 with SMTP id r5ls820615laa.65.gmail; Thu, 13 Nov 2014 23:41:50 -0800 (PST) X-Received: by 10.112.148.130 with SMTP id ts2mr6799876lbb.43.1415950910647; Thu, 13 Nov 2014 23:41:50 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id xk6si40865009lbb.22.2014.11.13.23.41.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 23:41:50 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id z11so5485820lbi.25 for ; Thu, 13 Nov 2014 23:41:50 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr6727974lbo.32.1415950910536; Thu, 13 Nov 2014 23:41:50 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp725523lbc; Thu, 13 Nov 2014 23:41:50 -0800 (PST) X-Received: by 10.152.42.172 with SMTP id p12mr6771817lal.11.1415950909941; Thu, 13 Nov 2014 23:41:49 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id r9si40830745lag.32.2014.11.13.23.41.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 23:41:49 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id pv20so14317297lab.39 for ; Thu, 13 Nov 2014 23:41:49 -0800 (PST) X-Received: by 10.112.16.39 with SMTP id c7mr6675118lbd.19.1415950909780; Thu, 13 Nov 2014 23:41:49 -0800 (PST) Received: from uffe-Latitude-E6430s.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id 8sm7999536lav.15.2014.11.13.23.41.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Nov 2014 23:41:48 -0800 (PST) From: Ulf Hansson To: "Rafael J. Wysocki" , Len Brown , Pavel Machek , Kevin Hilman , linux-pm@vger.kernel.org Cc: Geert Uytterhoeven , Dmitry Torokhov , Ulf Hansson Subject: [PATCH] PM / Domains: Move struct pm_domain_data to pm_domain.h Date: Fri, 14 Nov 2014 08:41:32 +0100 Message-Id: <1415950892-4213-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The definition of the struct pm_domain_data better belongs in the header for the PM domains, let's move it there. Signed-off-by: Ulf Hansson --- include/linux/pm.h | 6 +----- include/linux/pm_domain.h | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/linux/pm.h b/include/linux/pm.h index 383fd68..45e3e78 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -538,11 +538,7 @@ enum rpm_request { }; struct wakeup_source; - -struct pm_domain_data { - struct list_head list_node; - struct device *dev; -}; +struct pm_domain_data; struct pm_subsys_data { spinlock_t lock; diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index 2e0e06d..9d254e2 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -100,6 +100,11 @@ struct gpd_timing_data { bool cached_stop_ok; }; +struct pm_domain_data { + struct list_head list_node; + struct device *dev; +}; + struct generic_pm_domain_data { struct pm_domain_data base; struct gpd_timing_data td;