git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
char
/
toshiba.c
diff --git
a/drivers/char/toshiba.c
b/drivers/char/toshiba.c
index
e2fb234
..
07067c3
100644
(file)
--- a/
drivers/char/toshiba.c
+++ b/
drivers/char/toshiba.c
@@
-92,7
+92,7
@@
static int tosh_ioctl(struct inode *, struct file *, unsigned int,
unsigned long);
unsigned long);
-static struct file_operations tosh_fops = {
+static
const
struct file_operations tosh_fops = {
.owner = THIS_MODULE,
.ioctl = tosh_ioctl,
};
.owner = THIS_MODULE,
.ioctl = tosh_ioctl,
};
@@
-249,6
+249,7
@@
int tosh_smm(SMMRegisters *regs)
return eax;
}
return eax;
}
+EXPORT_SYMBOL(tosh_smm);
static int tosh_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
static int tosh_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,