projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ite_gpio fix tabbage
[deliverable/linux.git]
/
drivers
/
char
/
ite_gpio.c
diff --git
a/drivers/char/ite_gpio.c
b/drivers/char/ite_gpio.c
index 747ba45e50e54664ff607be60a041f5e895b870d..ef14b6d1bc7479036fceb68b6804864e2cc3bd52 100644
(file)
--- a/
drivers/char/ite_gpio.c
+++ b/
drivers/char/ite_gpio.c
@@
-357,7
+357,7
@@
DEB(printk("interrupt 0x%x %d\n",ITE_GPAISR, i));
}
}
}
}
-static struct file_operations ite_gpio_fops = {
+static
const
struct file_operations ite_gpio_fops = {
.owner = THIS_MODULE,
.ioctl = ite_gpio_ioctl,
.open = ite_gpio_open,
.owner = THIS_MODULE,
.ioctl = ite_gpio_ioctl,
.open = ite_gpio_open,
@@
-384,13
+384,13
@@
int __init ite_gpio_init(void)
}
/* initialize registers */
}
/* initialize registers */
-
ITE_GPACR = 0xffff;
-
ITE_GPBCR = 0xffff;
-
ITE_GPCCR = 0xffff;
-
ITE_GPAICR = 0x00ff;
-
ITE_GPBICR = 0x00ff;
-
ITE_GPCICR = 0x00ff;
-
ITE_GCR = 0;
+ ITE_GPACR = 0xffff;
+ ITE_GPBCR = 0xffff;
+ ITE_GPCCR = 0xffff;
+ ITE_GPAICR = 0x00ff;
+ ITE_GPBICR = 0x00ff;
+ ITE_GPCICR = 0x00ff;
+ ITE_GCR = 0;
for (i = 0; i < MAX_GPIO_LINE; i++) {
ite_gpio_irq_pending[i]=0;
for (i = 0; i < MAX_GPIO_LINE; i++) {
ite_gpio_irq_pending[i]=0;
This page took
0.026017 seconds
and
5
git commands to generate.