From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH] ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions Date: Wed, 5 Mar 2014 20:23:40 +0100 Message-ID: <201403052023.40492.marex@denx.de> 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: In-Reply-To: <1394047069-29902-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Hans de Goede Cc: Tejun Heo , 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 Wednesday, March 05, 2014 at 08:17:49 PM, 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 Obviously makes sense. Acked-by: Marek Vasut Best regards, Marek Vasut --=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.