From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: [RFC] pm_prepare_console in drivers/macintosh/via-pmu.c Date: Wed, 1 Feb 2006 08:31:47 +0100 Message-ID: <200602010831.48000.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============050876573605266984==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Linux PM , Benjamin Herrenschmidt List-Id: linux-pm@vger.kernel.org --===============050876573605266984== Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, The drivers/macintosh/via-pmu.c driver is the only user of pm_prepare_console() and pm_restore_console() calls outside of kernel/power. If it is going to stay like that we should move the new #ifdef around the declarations of pm_prepare_console() and pm_restore_console() as well as the definition of SUSPEND_CONSOLE from kernel/power/power.h to include/linux/suspend.h, unless CONFIG_VT and CONFIG_VT_CONSOLE are always set on Macs. Please advise. Rafael --===============050876573605266984== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============050876573605266984==--