Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
25e9c86d
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
25e9c86d
编写于
2月 17, 2008
作者:
M
Mark M. Hoffman
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
hwmon: normal_i2c arrays should be const
Signed-off-by:
N
Mark M. Hoffman
<
mhoffman@lightlink.com
>
上级
57df46d6
变更
41
隐藏空白更改
内联
并排
Showing
41 changed file
with
55 addition
and
60 deletion
+55
-60
drivers/hwmon/ad7418.c
drivers/hwmon/ad7418.c
+1
-1
drivers/hwmon/adm1021.c
drivers/hwmon/adm1021.c
+2
-4
drivers/hwmon/adm1025.c
drivers/hwmon/adm1025.c
+1
-1
drivers/hwmon/adm1026.c
drivers/hwmon/adm1026.c
+1
-1
drivers/hwmon/adm1029.c
drivers/hwmon/adm1029.c
+2
-4
drivers/hwmon/adm1031.c
drivers/hwmon/adm1031.c
+1
-1
drivers/hwmon/adm9240.c
drivers/hwmon/adm9240.c
+1
-1
drivers/hwmon/ads7828.c
drivers/hwmon/ads7828.c
+1
-1
drivers/hwmon/adt7470.c
drivers/hwmon/adt7470.c
+1
-1
drivers/hwmon/adt7473.c
drivers/hwmon/adt7473.c
+1
-1
drivers/hwmon/asb100.c
drivers/hwmon/asb100.c
+1
-1
drivers/hwmon/atxp1.c
drivers/hwmon/atxp1.c
+1
-1
drivers/hwmon/dme1737.c
drivers/hwmon/dme1737.c
+1
-1
drivers/hwmon/ds1621.c
drivers/hwmon/ds1621.c
+1
-1
drivers/hwmon/f75375s.c
drivers/hwmon/f75375s.c
+1
-1
drivers/hwmon/fscher.c
drivers/hwmon/fscher.c
+1
-1
drivers/hwmon/fschmd.c
drivers/hwmon/fschmd.c
+1
-1
drivers/hwmon/fscpos.c
drivers/hwmon/fscpos.c
+1
-1
drivers/hwmon/gl518sm.c
drivers/hwmon/gl518sm.c
+1
-1
drivers/hwmon/gl520sm.c
drivers/hwmon/gl520sm.c
+1
-1
drivers/hwmon/lm63.c
drivers/hwmon/lm63.c
+1
-1
drivers/hwmon/lm75.c
drivers/hwmon/lm75.c
+1
-1
drivers/hwmon/lm77.c
drivers/hwmon/lm77.c
+2
-1
drivers/hwmon/lm78.c
drivers/hwmon/lm78.c
+2
-2
drivers/hwmon/lm80.c
drivers/hwmon/lm80.c
+2
-2
drivers/hwmon/lm83.c
drivers/hwmon/lm83.c
+2
-4
drivers/hwmon/lm85.c
drivers/hwmon/lm85.c
+1
-1
drivers/hwmon/lm87.c
drivers/hwmon/lm87.c
+1
-1
drivers/hwmon/lm90.c
drivers/hwmon/lm90.c
+2
-4
drivers/hwmon/lm92.c
drivers/hwmon/lm92.c
+2
-2
drivers/hwmon/lm93.c
drivers/hwmon/lm93.c
+1
-1
drivers/hwmon/max1619.c
drivers/hwmon/max1619.c
+2
-4
drivers/hwmon/max6650.c
drivers/hwmon/max6650.c
+2
-1
drivers/hwmon/smsc47m192.c
drivers/hwmon/smsc47m192.c
+1
-1
drivers/hwmon/thmc50.c
drivers/hwmon/thmc50.c
+1
-1
drivers/hwmon/w83781d.c
drivers/hwmon/w83781d.c
+2
-2
drivers/hwmon/w83791d.c
drivers/hwmon/w83791d.c
+2
-1
drivers/hwmon/w83792d.c
drivers/hwmon/w83792d.c
+2
-1
drivers/hwmon/w83793.c
drivers/hwmon/w83793.c
+2
-1
drivers/hwmon/w83l785ts.c
drivers/hwmon/w83l785ts.c
+1
-1
drivers/hwmon/w83l786ng.c
drivers/hwmon/w83l786ng.c
+1
-1
未找到文件。
drivers/hwmon/ad7418.c
浏览文件 @
25e9c86d
...
...
@@ -26,7 +26,7 @@
#define DRV_VERSION "0.3"
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x28
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x28
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_3
(
ad7416
,
ad7417
,
ad7418
);
...
...
drivers/hwmon/adm1021.c
浏览文件 @
25e9c86d
...
...
@@ -31,10 +31,8 @@
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_8
(
adm1021
,
adm1023
,
max1617
,
max1617a
,
thmc10
,
lm84
,
gl523sm
,
...
...
drivers/hwmon/adm1025.c
浏览文件 @
25e9c86d
...
...
@@ -62,7 +62,7 @@
* NE1619 has two possible addresses: 0x2c and 0x2d.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/adm1026.c
浏览文件 @
25e9c86d
...
...
@@ -35,7 +35,7 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
adm1026
);
...
...
drivers/hwmon/adm1029.c
浏览文件 @
25e9c86d
...
...
@@ -39,10 +39,8 @@
* Addresses to scan
*/
static
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
static
const
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/*
...
...
drivers/hwmon/adm1031.c
浏览文件 @
25e9c86d
...
...
@@ -61,7 +61,7 @@
#define ADM1031_CONF2_TEMP_ENABLE(chan) (0x10 << (chan))
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_2
(
adm1030
,
adm1031
);
...
...
drivers/hwmon/adm9240.c
浏览文件 @
25e9c86d
...
...
@@ -52,7 +52,7 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/* Insmod parameters */
...
...
drivers/hwmon/ads7828.c
浏览文件 @
25e9c86d
...
...
@@ -44,7 +44,7 @@
#define ADS7828_INT_VREF_MV 2500
/* Internal vref is 2.5V, 2500mV */
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
static
const
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
I2C_CLIENT_END
};
/* Insmod parameters */
...
...
drivers/hwmon/adt7470.c
浏览文件 @
25e9c86d
...
...
@@ -30,7 +30,7 @@
#include <linux/log2.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2C
,
0x2E
,
0x2F
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2C
,
0x2E
,
0x2F
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
adt7470
);
...
...
drivers/hwmon/adt7473.c
浏览文件 @
25e9c86d
...
...
@@ -30,7 +30,7 @@
#include <linux/log2.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2C
,
0x2D
,
0x2E
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2C
,
0x2D
,
0x2E
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
adt7473
);
...
...
drivers/hwmon/asb100.c
浏览文件 @
25e9c86d
...
...
@@ -49,7 +49,7 @@
#include "lm75.h"
/* I2C addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2d
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2d
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
asb100
);
...
...
drivers/hwmon/atxp1.c
浏览文件 @
25e9c86d
...
...
@@ -42,7 +42,7 @@ MODULE_AUTHOR("Sebastian Witt <se.witt@gmx.net>");
#define ATXP1_VIDMASK 0x1f
#define ATXP1_GPIO1MASK 0x0f
static
unsigned
short
normal_i2c
[]
=
{
0x37
,
0x4e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x37
,
0x4e
,
I2C_CLIENT_END
};
I2C_CLIENT_INSMOD_1
(
atxp1
);
...
...
drivers/hwmon/dme1737.c
浏览文件 @
25e9c86d
...
...
@@ -49,7 +49,7 @@ module_param(force_id, ushort, 0);
MODULE_PARM_DESC
(
force_id
,
"Override the detected device ID"
);
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
dme1737
);
...
...
drivers/hwmon/ds1621.c
浏览文件 @
25e9c86d
...
...
@@ -34,7 +34,7 @@
#include "lm75.h"
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
0x4c
,
static
const
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
0x4c
,
0x4d
,
0x4e
,
0x4f
,
I2C_CLIENT_END
};
/* Insmod parameters */
...
...
drivers/hwmon/f75375s.c
浏览文件 @
25e9c86d
...
...
@@ -37,7 +37,7 @@
#include <linux/f75375s.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_2
(
f75373
,
f75375
);
...
...
drivers/hwmon/fscher.c
浏览文件 @
25e9c86d
...
...
@@ -40,7 +40,7 @@
* Addresses to scan
*/
static
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/fschmd.c
浏览文件 @
25e9c86d
...
...
@@ -44,7 +44,7 @@
#include <linux/dmi.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_5
(
fscpos
,
fscher
,
fscscy
,
fschrc
,
fschmd
);
...
...
drivers/hwmon/fscpos.c
浏览文件 @
25e9c86d
...
...
@@ -43,7 +43,7 @@
/*
* Addresses to scan
*/
static
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x73
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/gl518sm.c
浏览文件 @
25e9c86d
...
...
@@ -44,7 +44,7 @@
#include <linux/sysfs.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_2
(
gl518sm_r00
,
gl518sm_r80
);
...
...
drivers/hwmon/gl520sm.c
浏览文件 @
25e9c86d
...
...
@@ -39,7 +39,7 @@ module_param(extra_sensor_type, ushort, 0);
MODULE_PARM_DESC
(
extra_sensor_type
,
"Type of extra sensor (0=autodetect, 1=temperature, 2=voltage)"
);
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
gl520sm
);
...
...
drivers/hwmon/lm63.c
浏览文件 @
25e9c86d
...
...
@@ -53,7 +53,7 @@
* Address is fully defined internally and cannot be changed.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x4c
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x4c
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/lm75.c
浏览文件 @
25e9c86d
...
...
@@ -31,7 +31,7 @@
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
0x4c
,
static
const
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
0x4c
,
0x4d
,
0x4e
,
0x4f
,
I2C_CLIENT_END
};
/* Insmod parameters */
...
...
drivers/hwmon/lm77.c
浏览文件 @
25e9c86d
...
...
@@ -36,7 +36,8 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
lm77
);
...
...
drivers/hwmon/lm78.c
浏览文件 @
25e9c86d
...
...
@@ -37,8 +37,8 @@
static
struct
platform_device
*
pdev
;
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
unsigned
short
isa_address
=
0x290
;
/* Insmod parameters */
...
...
drivers/hwmon/lm80.c
浏览文件 @
25e9c86d
...
...
@@ -32,8 +32,8 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
lm80
);
...
...
drivers/hwmon/lm83.c
浏览文件 @
25e9c86d
...
...
@@ -48,10 +48,8 @@
* addresses.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/lm85.c
浏览文件 @
25e9c86d
...
...
@@ -35,7 +35,7 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_6
(
lm85b
,
lm85c
,
adm1027
,
adt7463
,
emc6d100
,
emc6d102
);
...
...
drivers/hwmon/lm87.c
浏览文件 @
25e9c86d
...
...
@@ -73,7 +73,7 @@
* LM87 has three possible addresses: 0x2c, 0x2d and 0x2e.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/lm90.c
浏览文件 @
25e9c86d
...
...
@@ -101,10 +101,8 @@
* 0x4c, 0x4d or 0x4e.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/lm92.c
浏览文件 @
25e9c86d
...
...
@@ -51,8 +51,8 @@
/* The LM92 and MAX6635 have 2 two-state pins for address selection,
resulting in 4 possible addresses. */
static
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x48
,
0x49
,
0x4a
,
0x4b
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
lm92
);
...
...
drivers/hwmon/lm93.c
浏览文件 @
25e9c86d
...
...
@@ -142,7 +142,7 @@
I2C_FUNC_SMBUS_WORD_DATA)
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
lm93
);
...
...
drivers/hwmon/max1619.c
浏览文件 @
25e9c86d
...
...
@@ -37,10 +37,8 @@
#include <linux/mutex.h>
#include <linux/sysfs.h>
static
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x18
,
0x19
,
0x1a
,
0x29
,
0x2a
,
0x2b
,
0x4c
,
0x4d
,
0x4e
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/max6650.c
浏览文件 @
25e9c86d
...
...
@@ -44,7 +44,8 @@
* Addresses to scan. There are four disjoint possibilities, by pin config.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x1b
,
0x1f
,
0x48
,
0x4b
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x1b
,
0x1f
,
0x48
,
0x4b
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/smsc47m192.c
浏览文件 @
25e9c86d
...
...
@@ -34,7 +34,7 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
smsc47m192
);
...
...
drivers/hwmon/thmc50.c
浏览文件 @
25e9c86d
...
...
@@ -32,7 +32,7 @@
MODULE_LICENSE
(
"GPL"
);
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_2
(
thmc50
,
adm1022
);
...
...
drivers/hwmon/w83781d.c
浏览文件 @
25e9c86d
...
...
@@ -53,8 +53,8 @@
static
struct
platform_device
*
pdev
;
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x28
,
0x29
,
0x2a
,
0x2b
,
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
unsigned
short
isa_address
=
0x290
;
/* Insmod parameters */
...
...
drivers/hwmon/w83791d.c
浏览文件 @
25e9c86d
...
...
@@ -47,7 +47,8 @@
#define NUMBER_OF_TEMPIN 3
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
w83791d
);
...
...
drivers/hwmon/w83792d.c
浏览文件 @
25e9c86d
...
...
@@ -46,7 +46,8 @@
#include <linux/sysfs.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
w83792d
);
...
...
drivers/hwmon/w83793.c
浏览文件 @
25e9c86d
...
...
@@ -37,7 +37,8 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2c
,
0x2d
,
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
w83793
);
...
...
drivers/hwmon/w83l785ts.c
浏览文件 @
25e9c86d
...
...
@@ -49,7 +49,7 @@
* Address is fully defined internally and cannot be changed.
*/
static
unsigned
short
normal_i2c
[]
=
{
0x2e
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2e
,
I2C_CLIENT_END
};
/*
* Insmod parameters
...
...
drivers/hwmon/w83l786ng.c
浏览文件 @
25e9c86d
...
...
@@ -35,7 +35,7 @@
#include <linux/mutex.h>
/* Addresses to scan */
static
unsigned
short
normal_i2c
[]
=
{
0x2e
,
0x2f
,
I2C_CLIENT_END
};
static
const
unsigned
short
normal_i2c
[]
=
{
0x2e
,
0x2f
,
I2C_CLIENT_END
};
/* Insmod parameters */
I2C_CLIENT_INSMOD_1
(
w83l786ng
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录