usbduxfast: Declare MODULE_FIRMWARE usage
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 1/1 usbduxfast: Declare MODULE_FIRMWARE usage
Cc Ian Abbott <[email protected]>
Cc Mori Hess <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc H Hartley Sweeten <[email protected]>
Cc Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by Tim Gardner <[email protected]>
--- drivers/staging/comedi/drivers/usbduxfast.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/comedi/drivers/usbduxfast.c +3 -1
@@ -57,6 +57,7 @@/* * constants for "firmware" upload and download */ +#define FIRMWARE "usbduxfast_firmware.bin"#define USBDUXFASTSUB_FIRMWARE 0xA0#define VENDOR_DIR_IN 0xC0#define VENDOR_DIR_OUT 0x40
@@ -1706,7 +1707,7 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf, ret = request_firmware_nowait(THIS_MODULE, FW_ACTION_HOTPLUG, - "usbduxfast_firmware.bin", + FIRMWARE, &udev->dev, GFP_KERNEL, usbduxfastsub + index,
@@ -1774,3 +1775,4 @@ module_comedi_usb_driver(usbduxfast_driver, usbduxfast_usb_driver);MODULE_AUTHOR ("Bernd Porr, [email protected]" );MODULE_DESCRIPTION ("USB-DUXfast, [email protected]" );MODULE_LICENSE ("GPL" ); +MODULE_FIRMWARE (FIRMWARE );
Signature · 1 line
1.7.9.5