|
gcc -Wp,-MD,drivers/char/.riscom8.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=riscom8 -DKBUILD_MODNAME=riscom8 -c -o drivers/char/.tmp_riscom8.o drivers/char/riscom8.c
In file included from drivers/char/riscom8.c:51:
drivers/char/riscom8.h:88: field `tqueue' has incomplete type
drivers/char/riscom8.h:89: field `tqueue_hangup' has incomplete type
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in function declaration
drivers/char/riscom8.c: In function `rc_mark_event':
drivers/char/riscom8.c:351: warning: implicit declaration of function `queue_task'
drivers/char/riscom8.c:351: `tq_riscom' undeclared (first use in this function)
drivers/char/riscom8.c:351: (Each undeclared identifier is reported only once
drivers/char/riscom8.c:351: for each function it appears in.)
drivers/char/riscom8.c:352: warning: implicit declaration of function `mark_bh'
drivers/char/riscom8.c:352: `RISCOM8_BH' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_receive_exc':
drivers/char/riscom8.c:435: structure has no member named `tqueue'
drivers/char/riscom8.c:435: `tq_timer' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_receive':
drivers/char/riscom8.c:466: structure has no member named `tqueue'
drivers/char/riscom8.c:466: `tq_timer' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_check_modem':
drivers/char/riscom8.c:555: warning: `_MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:460)
drivers/char/riscom8.c:556: warning: implicit declaration of function `schedule_task'
drivers/char/riscom8.c:557: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:435)
drivers/char/riscom8.c: In function `rc_setup_board':
drivers/char/riscom8.c:677: warning: `_MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:460)
drivers/char/riscom8.c: In function `rc_shutdown_board':
drivers/char/riscom8.c:695: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:435)
drivers/char/riscom8.c: In function `do_rc_hangup':
drivers/char/riscom8.c:1679: warning: `__MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:435)
drivers/char/riscom8.c: In function `do_riscom_bh':
drivers/char/riscom8.c:1725: warning: implicit declaration of function `run_task_queue'
drivers/char/riscom8.c:1725: `tq_riscom' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_init_drivers':
drivers/char/riscom8.c:1754: warning: implicit declaration of function `init_bh'
drivers/char/riscom8.c:1754: `RISCOM8_BH' undeclared (first use in this function)
drivers/char/riscom8.c: In function `rc_release_drivers':
drivers/char/riscom8.c:1833: warning: implicit declaration of function `remove_bh'
drivers/char/riscom8.c:1833: `RISCOM8_BH' undeclared (first use in this function)
drivers/char/riscom8.c: At top level:
drivers/char/riscom8.c:84: warning: `DECLARE_TASK_QUEUE' declared `static' but never defined
make[2]: *** [drivers/char/riscom8.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
请问这是那个驱动的问题啊?! |
|