search for: subdriver_info

Displaying 1 result from an estimated 1 matches for "subdriver_info".

2010 Feb 15
1
upsdrv_info structure
...ormation */ }; typedef struct upsdrv_info_s upsdrv_info_t; Can't we just use something like static upsdrv_info_t driver_info = { DRIVER_NAME, DRIVER_VERSION, "Ex Ample <nobody op example.com>", DRV_EXPERIMENTAL }; upsdrv_info_t *upsdrv_info[] = { &driver_info, &subdriver_info, NULL }; In this example, subdriver_info is exported by an external module and that is linked in the main driver. Best regards, Arjen -- Please keep list traffic on the list