aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBHUB.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_USBHUB.c')
-rw-r--r--drv_USBHUB.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drv_USBHUB.c b/drv_USBHUB.c
index 4e3eb70..b2de439 100644
--- a/drv_USBHUB.c
+++ b/drv_USBHUB.c
@@ -1,4 +1,4 @@
-/* $Id: drv_USBHUB.c 728 2007-01-14 11:14:38Z michael $
+/* $Id: drv_USBHUB.c 773 2007-02-25 12:39:09Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_USBHUB.c $
*
* new style driver for USBLCD displays
@@ -62,8 +62,8 @@ static char Name[] = "USBHUB";
* no Vendor/Product specified in config.
*/
-static int hubVendor = 0x0409;
-static int hubProduct = 0x0058;
+static unsigned int hubVendor = 0x0409;
+static unsigned int hubProduct = 0x0058;
static usb_dev_handle *hub = NULL;
@@ -268,7 +268,7 @@ int drv_UH_init(const char *section, const int quiet)
int ret;
int i;
- info("%s: %s", Name, "$Rev: 728 $");
+ info("%s: %s", Name, "$Rev: 773 $");
@@ -298,7 +298,7 @@ int drv_UH_init(const char *section, const int quiet)
}
sleep(1);
for (i = 0; i < GPOS; ++i) {
- drv_UH_set(i, 3); // OFF
+ drv_UH_set(i, 3); /* OFF */
}
}
@@ -333,8 +333,8 @@ int drv_UH_quit(const int quiet)
DRIVER drv_USBHUB = {
- name:Name,
- list:drv_UH_list,
- init:drv_UH_init,
- quit:drv_UH_quit,
+ .name = Name,
+ .list = drv_UH_list,
+ .init = drv_UH_init,
+ .quit = drv_UH_quit,
};