mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
remove #ifndef for DRIVERID, 2.7.0 release will require i2c-2.7.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1622 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
28e73a5b4a
commit
df3d00c268
7 files changed
-30
No files matched your search
@@ -39,11 +39,6 @@
|
||||
#include "sensors.h"
|
||||
#include <linux/init.h>
|
||||
|
||||
/* temp. because wasn't in kernel 2.4.13 patch */
|
||||
#ifndef I2C_DRIVERID_FSCPOS
|
||||
#define I2C_DRIVERID_FSCPOS 1028
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \
|
||||
(LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0))
|
||||
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
|
||||
|
||||
@@ -39,11 +39,6 @@
|
||||
#include "sensors.h"
|
||||
#include <linux/init.h>
|
||||
|
||||
/* temp. because wasn't in kernel 2.4.13 patch */
|
||||
#ifndef I2C_DRIVERID_FSCSCY
|
||||
#define I2C_DRIVERID_FSCSCY 1029
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_LICENSE
|
||||
MODULE_LICENSE("GPL");
|
||||
#endif
|
||||
|
||||
@@ -370,10 +370,6 @@ static void lm92_dec_use (struct i2c_client *client)
|
||||
#endif /* #ifdef MODULE */
|
||||
}
|
||||
|
||||
#ifndef I2C_DRIVERID_LM92
|
||||
#define I2C_DRIVERID_LM92 1033
|
||||
#endif /* #ifndef I2C_DRIVERID_LM92 */
|
||||
|
||||
static struct i2c_driver lm92_driver = {
|
||||
name: "lm92",
|
||||
id: I2C_DRIVERID_LM92,
|
||||
|
||||
@@ -26,10 +26,6 @@
|
||||
#include "version.h"
|
||||
#include <linux/init.h>
|
||||
|
||||
#ifndef I2C_DRIVERID_PCF8591
|
||||
#define I2C_DRIVERID_PCF8591 1030
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \
|
||||
(LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0))
|
||||
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
|
||||
|
||||
@@ -38,10 +38,6 @@
|
||||
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
|
||||
#endif
|
||||
|
||||
#ifndef I2C_DRIVERID_SMSC47M1
|
||||
#define I2C_DRIVERID_SMSC47M1 1031
|
||||
#endif
|
||||
|
||||
#ifndef THIS_MODULE
|
||||
#define THIS_MODULE NULL
|
||||
#endif
|
||||
|
||||
@@ -41,10 +41,6 @@
|
||||
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
|
||||
#endif
|
||||
|
||||
#ifndef I2C_DRIVERID_VT1211
|
||||
#define I2C_DRIVERID_VT1211 1032
|
||||
#endif
|
||||
|
||||
#ifndef THIS_MODULE
|
||||
#define THIS_MODULE NULL
|
||||
#endif
|
||||
|
||||
@@ -42,10 +42,6 @@
|
||||
#define init_MUTEX(s) do { *(s) = MUTEX; } while(0)
|
||||
#endif
|
||||
|
||||
#ifndef I2C_DRIVERID_VT8231
|
||||
#define I2C_DRIVERID_VT8231 1034
|
||||
#endif
|
||||
|
||||
#ifndef THIS_MODULE
|
||||
#define THIS_MODULE NULL
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user