ACPI: updates rtc-cmos device platform_data
authorDavid Brownell <david-b@pacbell.net>
Tue, 6 Feb 2007 00:09:11 +0000 (16:09 -0800)
committerLen Brown <len.brown@intel.com>
Fri, 9 Feb 2007 05:52:53 +0000 (00:52 -0500)
commita74388e21ef2adbba4450f7b3f05ffe88df630d5
treef55823c8273062afcc7eb79ad7b04e16beb6c78b
parent1c0f0575fd02a3996f09cac2ef29c4cc5c2d279d
ACPI: updates rtc-cmos device platform_data

Update ACPI to export its RTC extension information through platform_data
to the PNPACPI or platform bus device node used on the system being set up.

This will need to be updated later to provide a firmware hook to handle
system suspend with an alarm pending.

Len notes that "Eventually we may bundle ACPI/PNP/PNPACPI..." but if/when
that happens, ACPI can simplify this without my help.

And until it does, the separate patch creating a platform_device (on all
X86_PC systems, even without ACPI) will be needed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/glue.c