From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH] ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions Date: Thu, 6 Mar 2014 14:31:54 -0500 Message-ID: <20140306193154.GC14033@htj.dyndns.org> References: <1394047069-29902-1-git-send-email-hdegoede@redhat.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <1394047069-29902-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline To: Hans de Goede Cc: Marek Vasut , Maxime Ripard , Oliver Schinagl , Richard Zhu , linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Bartlomiej Zolnierkiewicz List-Id: devicetree@vger.kernel.org On Wed, Mar 05, 2014 at 08:17:49PM +0100, Hans de Goede wrote: > This fixes the following warnings when CONFIG_PM_SLEEP is not set: >=20 > drivers/ata/ahci_imx.c:284:12: warning: =E2=80=98imx_ahci_suspend=E2=80= =99 defined but not used [-Wunused-function] > drivers/ata/ahci_imx.c:299:12: warning: =E2=80=98imx_ahci_resume=E2=80=99= defined but not used [-Wunused-function] >=20 > Reported-by: Bartlomiej Zolnierkiewicz > Cc: Bartlomiej Zolnierkiewicz > Signed-off-by: Hans de Goede Applied to libata/for-3.15. Thanks. --=20 tejun --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.