usb device module probing

From: jonatan perry
Date: Thu Aug 09 2007 - 04:01:31 EST


hello,
i have a linux kernel usb module driver and would like to probe it,
i'v worked by the usbled.c file and didn't understand who the
led_probe(struct usb_interface *interface, const struct usb_device_id *id)
function receive it's paramerts, the struct have the
.probe = led_probe,
filed and called by the
static int __init usb_led_init(void)
but who the function receives the parameters?

thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/