Sigh.
I have a webcam that doesn't work under linux so I've decided to write a driver for it. I started reading an article demoing the process and right away ran into this:
which if this is C++ my project just became more difficult, because some form of this struct is necessary.Code:static struct usb_driver led_driver = { .owner = THIS_MODULE, .name = "usbled", .probe = led_probe, .disconnect = led_disconnect, .id_table = id_table, };