]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
provide rtc_cmos platform device
authorStas Sergeev <stsp@aknet.ru>
Thu, 12 Jun 2008 22:21:54 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:42 +0000 (18:05 -0700)
commit1da2e3d679a8ea2d9e82040359a706da0bd3bef6
tree1ce5966c9310366ed911fb0c6b7b514186a7af00
parent643b52b9c0b4e959436b4b551ebf4060d06d5ae8
provide rtc_cmos platform device

Recently (around 2.6.25) I've noticed that RTC no longer works for me.  It
turned out this is because I use pnpacpi=off kernel option to work around
the parport_pc bugs.  I always did so, but RTC used to work fine in the
past, and now it have regressed.

The patch fixes the problem by creating the platform device for the RTC
when PNP is disabled.  This may also help running the PNP-enabled kernel
on an older PCs.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Cc: David Brownell <david-b@pacbell.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/rtc.c
drivers/rtc/rtc-cmos.c