Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Tue, 7 Sep 2021 09:07:00 +0200 | Subject | Re: [PATCH] spi: tegra20-slink: Declare runtime suspend and resume functions conditionally |
| |
On Tue, Sep 7, 2021 at 6:56 AM Guenter Roeck <linux@roeck-us.net> wrote: > The following build error is seen with CONFIG_PM=n. > > drivers/spi/spi-tegra20-slink.c:1188:12: error: > 'tegra_slink_runtime_suspend' defined but not used > drivers/spi/spi-tegra20-slink.c:1200:12: error: > 'tegra_slink_runtime_resume' defined but not used > > Declare the functions only if PM is enabled. While at it, remove the > unnecessary forward declarations. > > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |