The patch below updates the GSC-Bus parallel port driver to use the new module
interfaces and C99 initializers. This hasn't been tested (sorry no hardware).
-- Bob Miller Email: rem@osdl.org Open Source Development Lab Phone: 503.626.2455 Ext. 17diff -Nru a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c --- a/drivers/parport/parport_gsc.c Thu Feb 27 09:46:20 2003 +++ b/drivers/parport/parport_gsc.c Thu Feb 27 09:46:20 2003 @@ -190,17 +190,6 @@ parport_writeb (s->u.pc.ctr, CONTROL (p)); } -void parport_gsc_inc_use_count(void) -{ - MOD_INC_USE_COUNT; -} - -void parport_gsc_dec_use_count(void) -{ - MOD_DEC_USE_COUNT; -} - - struct parport_operations parport_gsc_ops = { .write_data = parport_gsc_write_data, @@ -222,9 +211,6 @@ .save_state = parport_gsc_save_state, .restore_state = parport_gsc_restore_state, - .inc_use_count = parport_gsc_inc_use_count, - .dec_use_count = parport_gsc_dec_use_count, - .epp_write_data = parport_ieee1284_epp_write_data, .epp_read_data = parport_ieee1284_epp_read_data, .epp_write_addr = parport_ieee1284_epp_write_addr, @@ -237,6 +223,8 @@ .compat_write_data = parport_ieee1284_write_compat, .nibble_read_data = parport_ieee1284_read_nibble, .byte_read_data = parport_ieee1284_read_byte, + + .owner = THIS_MODULE, }; /* --- Mode detection ------------------------------------- */
-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Thu Feb 27 2003 - 17:17:36 EST