Commit 5d929a71 authored by Ben Hutchings's avatar Ben Hutchings Committed by Greg Kroah-Hartman

staging: declare MODULE_FIRMWARE in various drivers

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 32dbb671
...@@ -954,6 +954,8 @@ static int jr3_pci_attach(struct comedi_device *dev, ...@@ -954,6 +954,8 @@ static int jr3_pci_attach(struct comedi_device *dev,
return result; return result;
} }
MODULE_FIRMWARE("comedi/jr3pci.idm");
static int jr3_pci_detach(struct comedi_device *dev) static int jr3_pci_detach(struct comedi_device *dev)
{ {
int i; int i;
......
...@@ -128,6 +128,8 @@ static int go7007_load_encoder(struct go7007 *go) ...@@ -128,6 +128,8 @@ static int go7007_load_encoder(struct go7007 *go)
return rv; return rv;
} }
MODULE_FIRMWARE("go7007fw.bin");
/* /*
* Boot the encoder and register the I2C adapter if requested. Do the * Boot the encoder and register the I2C adapter if requested. Do the
* minimum initialization necessary, since the board-specific code may * minimum initialization necessary, since the board-specific code may
......
...@@ -444,6 +444,8 @@ static struct go7007_usb_board board_sensoray_2250 = { ...@@ -444,6 +444,8 @@ static struct go7007_usb_board board_sensoray_2250 = {
}, },
}; };
MODULE_FIRMWARE("go7007tv.bin");
static const struct usb_device_id go7007_usb_id_table[] = { static const struct usb_device_id go7007_usb_id_table[] = {
{ {
.match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION | .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION |
......
...@@ -84,6 +84,7 @@ static struct go7007_board_info board_voyager = { ...@@ -84,6 +84,7 @@ static struct go7007_board_info board_voyager = {
}, },
}, },
}; };
MODULE_FIRMWARE("go7007tv.bin");
/********************* Driver for GPIO HPI interface *********************/ /********************* Driver for GPIO HPI interface *********************/
......
...@@ -365,3 +365,7 @@ bool init_firmware(struct net_device *dev) ...@@ -365,3 +365,7 @@ bool init_firmware(struct net_device *dev)
rt_status = false; rt_status = false;
return rt_status; return rt_status;
} }
MODULE_FIRMWARE("RTL8192E/boot.img");
MODULE_FIRMWARE("RTL8192E/main.img");
MODULE_FIRMWARE("RTL8192E/data.img");
...@@ -538,3 +538,4 @@ bool FirmwareDownload92S(struct net_device *dev) ...@@ -538,3 +538,4 @@ bool FirmwareDownload92S(struct net_device *dev)
return rtStatus; return rtStatus;
} }
MODULE_FIRMWARE("RTL8192SU/rtl8192sfw.bin");
...@@ -1866,6 +1866,9 @@ static int slic_card_download_gbrcv(struct adapter *adapter) ...@@ -1866,6 +1866,9 @@ static int slic_card_download_gbrcv(struct adapter *adapter)
return 0; return 0;
} }
MODULE_FIRMWARE("slicoss/oasisrcvucode.sys");
MODULE_FIRMWARE("slicoss/gbrcvucode.sys");
static int slic_card_download(struct adapter *adapter) static int slic_card_download(struct adapter *adapter)
{ {
const struct firmware *fw; const struct firmware *fw;
...@@ -1977,6 +1980,9 @@ static int slic_card_download(struct adapter *adapter) ...@@ -1977,6 +1980,9 @@ static int slic_card_download(struct adapter *adapter)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
MODULE_FIRMWARE("slicoss/oasisdownload.sys");
MODULE_FIRMWARE("slicoss/gbdownload.sys");
static void slic_adapter_set_hwaddr(struct adapter *adapter) static void slic_adapter_set_hwaddr(struct adapter *adapter)
{ {
struct sliccard *card = adapter->card; struct sliccard *card = adapter->card;
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
/* Local Constants */ /* Local Constants */
#define PRISM2_USB_FWFILE "prism2_ru.fw" #define PRISM2_USB_FWFILE "prism2_ru.fw"
MODULE_FIRMWARE(PRISM2_USB_FWFILE);
#define S3DATA_MAX 5000 #define S3DATA_MAX 5000
#define S3PLUG_MAX 200 #define S3PLUG_MAX 200
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment