From 3c851dd7e04640567ad5a738c43727bb40e9103e Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 25 Feb 2007 12:27:26 +0000 Subject: lots of compiler warnings removed, C++-style comments removed, changed struc initialisation from 'field:value' to '.field=value' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@771 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_Noritake.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'drv_Noritake.c') diff --git a/drv_Noritake.c b/drv_Noritake.c index a0a2f54..6287736 100644 --- a/drv_Noritake.c +++ b/drv_Noritake.c @@ -140,8 +140,10 @@ static void drv_GU311_wait_busy(void) static void drv_GU311_send_char(char c) { - //drv_GU311_wait_busy(); /* ensuite the display is ready to take the command */ +#if 0 /* Disabled because all the cables does not have the busy line linked. */ + drv_GU311_wait_busy(); /* ensuite the display is ready to take the command */ +#endif drv_generic_parport_data(c); ndelay(30); /* delay to ensure data line stabilisation on long cables */ drv_generic_parport_control(SIGNAL_WR, 0); /* write line to enable */ @@ -380,8 +382,8 @@ int drv_Noritake_quit(const int quiet) DRIVER drv_Noritake = { - name:Name, - list:drv_Noritake_list, - init:drv_Noritake_init, - quit:drv_Noritake_quit, + .name = Name, + .list = drv_Noritake_list, + .init = drv_Noritake_init, + .quit = drv_Noritake_quit, }; -- cgit v1.2.3