git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sparc: sbus: treat CPU index as integer
[sfrench/cifs-2.6.git]
/
drivers
/
sbus
/
char
/
envctrl.c
diff --git
a/drivers/sbus/char/envctrl.c
b/drivers/sbus/char/envctrl.c
index 843e830b5f873c978938388159175732a69e1332..ea914a7eaa7fa38b5842447d4173066905d4098f 100644
(file)
--- a/
drivers/sbus/char/envctrl.c
+++ b/
drivers/sbus/char/envctrl.c
@@
-363,8
+363,8
@@
static int envctrl_read_cpu_info(int cpu, struct i2c_child_t *pchild,
char mon_type, unsigned char *bufdata)
{
unsigned char data;
- int i;
- char *tbl
, j = -1
;
+ int i
, j = -1
;
+ char *tbl;
/* Find the right monitor type and channel. */
for (i = 0; i < PCF8584_MAX_CHANNELS; i++) {