mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
Fixes backported from 2.6 work by Greg KH:
(mmh) o remove devinitdata marking from i2c-nforce2.c as it's wrong (mmh) o minor cleanups to the i2c-nforce2 driver git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1938 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5b720a247d
commit
9791b06ae5
1 file changed
+1
-7
@@ -44,19 +44,13 @@
|
||||
#include <asm/io.h>
|
||||
#include "version.h"
|
||||
|
||||
#ifdef MODULE_LICENSE
|
||||
MODULE_LICENSE("GPL");
|
||||
#endif
|
||||
MODULE_AUTHOR ("Hans-Frieder Vogt <hfvogt@arcor.de>");
|
||||
MODULE_DESCRIPTION("nForce2 SMBus driver");
|
||||
|
||||
#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS
|
||||
#define PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS 0x0064
|
||||
#endif
|
||||
/* TODO: sync with lm-sensors */
|
||||
#ifndef I2C_HW_SMBUS_NFORCE2
|
||||
#define I2C_HW_SMBUS_NFORCE2 0x0c
|
||||
#endif
|
||||
|
||||
|
||||
struct nforce2_smbus {
|
||||
@@ -291,7 +285,7 @@ u32 nforce2_func(struct i2c_adapter *adapter)
|
||||
}
|
||||
|
||||
|
||||
static struct pci_device_id nforce2_ids[] __devinitdata = {
|
||||
static struct pci_device_id nforce2_ids[] = {
|
||||
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
|
||||
{ 0 }
|
||||
|
||||
Reference in new issue
Block a user