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
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
char
/
toshiba.c
diff --git
a/drivers/char/toshiba.c
b/drivers/char/toshiba.c
index
5b84af0
..
58e21fe
100644
(file)
--- a/
drivers/char/toshiba.c
+++ b/
drivers/char/toshiba.c
@@
-81,7
+81,7
@@
static int tosh_fan = 0;
static int tosh_fn = 0;
static int tosh_fn = 0;
-
MODULE_PARM(tosh_fn, "i"
);
+
module_param(tosh_fn, int, 0
);
static int tosh_ioctl(struct inode *, struct file *, unsigned int,
static int tosh_ioctl(struct inode *, struct file *, unsigned int,
@@
-407,7
+407,7
@@
static int tosh_get_machine_id(void)
* laptop, otherwise zero and determines the Machine ID, BIOS version and
* date, and SCI version.
*/
* laptop, otherwise zero and determines the Machine ID, BIOS version and
* date, and SCI version.
*/
-int tosh_probe(void)
+
static
int tosh_probe(void)
{
int i,major,minor,day,year,month,flag;
unsigned char signature[7] = { 0x54,0x4f,0x53,0x48,0x49,0x42,0x41 };
{
int i,major,minor,day,year,month,flag;
unsigned char signature[7] = { 0x54,0x4f,0x53,0x48,0x49,0x42,0x41 };