From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: Re: [PATCH v5 08/14] ahci-platform: "Library-ise" suspend / resume functionality Date: Tue, 04 Feb 2014 11:20:53 +0100 Message-ID: <52F0BF05.8080607@redhat.com> References: <1390417489-5354-1-git-send-email-hdegoede@redhat.com> <1390417489-5354-9-git-send-email-hdegoede@redhat.com> <201402031553.46083.arnd@arndb.de> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <201402031553.46083.arnd-r2nGTMty4D4@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Arnd Bergmann , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Tejun Heo , devicetree , linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Oliver Schinagl , Richard Zhu , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Maxime Ripard , Roger Quadros List-Id: devicetree@vger.kernel.org Hi, On 02/03/2014 03:53 PM, Arnd Bergmann wrote: > On Wednesday 22 January 2014, Hans de Goede wrote: >> --- a/include/linux/ahci_platform.h >> +++ b/include/linux/ahci_platform.h >> @@ -50,4 +50,11 @@ int ahci_platform_init_host(struct platform_device *pdev, >> unsigned int force_port_map, >> unsigned int mask_port_map); >> >> +#ifdef CONFIG_PM_SLEEP >> +int ahci_platform_suspend_host(struct device *dev); >> +int ahci_platform_resume_host(struct device *dev); >> +int ahci_platform_suspend(struct device *dev); >> +int ahci_platform_resume(struct device *dev); >> +#endif >> + > > Not sure if the #ifdef does any good here. Normally, we don't hide declarations > so we can do stuff like Thanks for the review, I'll remove the #ifdef in the next version of this patch-set. Regards, Hans