[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201109071849.43603.arnd@arndb.de>
Date: Wed, 7 Sep 2011 18:49:43 +0200
From: Arnd Bergmann <arnd@...db.de>
To: H Hartley Sweeten <hartleys@...ionengravers.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
linux-pm@...ts.linux-foundation.org, akpm@...ux-foundation.org,
gregkh@...e.de, pavel@....cz, rjw@...k.pl, len.brown@...el.com,
art@...ed.ca, jslaby@...e.cz
Subject: Re: [PATCH] vt/suspend: cleanup #if defined uglyness and fix compile error
On Tuesday 06 September 2011, H Hartley Sweeten wrote:
> rder to cleanup
> the #if defined ugliness for the vt suspend support functions. Note that
> CONFIG_VT_CONSOLE is already dependant on CONFIG_VT.
>
> The function pm_set_vt_switch is actually dependant on CONFIG_VT and not
> CONFIG_PM_SLEEP. This fixes a compile error when CONFIG_PM_SLEEP is
> not set:
>
> drivers/tty/vt/vt_ioctl.c:1794: error: redefinition of 'pm_set_vt_switch'
> include/linux/suspend.h:17: error: previous definition of 'pm_set_vt_switch' was here
>
> Also, remove the incorrect path from the comment in console.c.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
> Cc: Arnd Bergmann <arnd@...d.de>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: Greg Kroah-Hartman <gregkh@...e.de>
> Cc: Pavel Machek <pavel@....cz>
> Cc: "Rafael J. Wysocki" <rjw@...k.pl>
> Cc: Len Brown <len.brown@...el.com>
> Cc: Arthur Taylor <art@...ed.ca>
> Cc: Jiri Slaby <jslaby@...e.cz>
Acked-by: Arnd Bergmann <arnd@...db.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists