]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hwmon: (i5k_amb) Load automatically on all 5000/5400 chipsets
authorDarrick J. Wong <djwong@us.ibm.com>
Wed, 7 Jan 2009 15:37:33 +0000 (16:37 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 15:37:33 +0000 (16:37 +0100)
commit6e31eb2b297c7b6678e6e77393bb8d01b5228bda
treeb92cf708f6812e2c4abc849bfe7a0190935d8877
parentb4da93e4b0ffc261c3530fe938aefd52854aa84c
hwmon: (i5k_amb) Load automatically on all 5000/5400 chipsets

It turns out that we cannot create a pci_driver in this driver because PCI will
not call this module's probe function if the i5000-edac driver is already
loaded.  That said, we only want one value (AMBASE) from the PCI config space.
Neither driver alters this value, so it's safe to read it.  However, we still
want the module aliases, so provide that.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/i5k_amb.c