summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rs5c372.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@misterjones.org>2010-12-05 06:05:37 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-12-09 05:36:30 +0100
commit98b14d6b290d96b24ae993ceaccc59b2aa4b130c (patch)
treecbf1655199e699411b0ca0e1b92b551cf37abf28 /drivers/rtc/rtc-rs5c372.c
parentof/address: Use propper endianess in get_flags (diff)
downloadlinux-98b14d6b290d96b24ae993ceaccc59b2aa4b130c.tar.xz
linux-98b14d6b290d96b24ae993ceaccc59b2aa4b130c.zip
powerpc/powermac: Make auto-loading of therm_pm72 possible
The therm_pm72 driver, used on the PowerMac G5 range, cannot be auto-loaded, since the driver itself creates both the device node and the driver instance. Moving the device node creation to the platform setup code and adding the necessary MODULE_DEVICE_TABLE() information allows the driver to be automatically loaded by udev on any semi-modern distribution. It "fixes" a major source of problem on G5 machines where the driver wasn't explicitely loaded by default, and the system would automatically shutdown under load. Tested on an Xserve G5. Signed-off-by: Marc Zyngier <maz@misterjones.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/rtc/rtc-rs5c372.c')
0 files changed, 0 insertions, 0 deletions