ChangeSet 1.1002.3.11, 2003/02/21 17:02:34-08:00, greg@kroah.com [PATCH] USB visor: fixed the driver_info cast to the proper type. drivers/usb/serial/visor.c | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff -Nru a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c --- a/drivers/usb/serial/visor.c Fri Feb 28 14:50:58 2003 +++ b/drivers/usb/serial/visor.c Fri Feb 28 14:50:58 2003 @@ -2,7 +2,7 @@ * USB HandSpring Visor, Palm m50x, and Sony Clie driver * (supports all of the Palm OS USB devices) * - * Copyright (C) 1999 - 2002 + * Copyright (C) 1999 - 2003 * Greg Kroah-Hartman (greg@kroah.com) * * This program is free software; you can redistribute it and/or modify @@ -183,34 +183,34 @@ static struct usb_device_id id_table [] = { { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_VISOR_ID), - .driver_info = (unsigned int)&palm_os_3_probe }, + .driver_info = (kernel_ulong_t)&palm_os_3_probe }, { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_TREO_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_M500_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_M505_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_M515_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_I705_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_M125_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_M130_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_TUNGSTEN_T_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_TUNGSTEN_Z_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(PALM_VENDOR_ID, PALM_ZIRE_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_0_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_S360_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_1_ID) }, { USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_NX60_ID), - .driver_info = (unsigned int)&palm_os_4_probe }, + .driver_info = (kernel_ulong_t)&palm_os_4_probe }, { } /* Terminating entry */ };