[lkml]   [2001]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message

Correcting the obvious error

#include <linux/toshiba.h>

still leaves:

toshiba.c:93: parse error before string constant
toshiba.c:93: warning: type defaults to `int' in declaration of `MODULE_PARM'
toshiba.c:93: warning: function declaration isn't a prototype
toshiba.c:93: warning: data definition has no type or storage class
toshiba.c: In function `tosh_open':
toshiba.c:286: `MOD_INC_USE_COUNT' undeclared (first use in this function)
toshiba.c:286: (Each undeclared identifier is reported only once
toshiba.c:286: for each function it appears in.)
toshiba.c: In function `tosh_release':
toshiba.c:294: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
make[3]: *** [toshiba.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_char] Error 2
make: *** [_dir_drivers] Error 2

So needs if not built as a module:

--- /usr/src/linux-2.2.19/drivers/char/toshiba.c Mon Apr 16 23:25:05 2001
+++ linux/drivers/char/toshiba.c Wed May 2 20:39:54 2001
@@ -60,10 +60,8 @@
#define TOSH_VERSION "1.9 22/3/2001"
#define TOSH_DEBUG 0

-#ifdef MODULE
@@ -78,7 +76,7 @@


#define TOSH_MINOR_DEV 181

Shaw Carruthers -
London SW14 7JW UK
This is not a sig( with homage to Magritte).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.020 / U:1.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site