diff options
author | Tim Gardner <tim.gardner@canonical.com> | 2012-07-25 08:15:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 22:31:42 -0400 |
commit | 3422f2a6bc0ed9b1fa159a33d94efef08f142570 (patch) | |
tree | c7c02e0745f9906e6a75f10cea598d4341ab274e /drivers/media | |
parent | 1bec982dd432a187459d59900a16cd79d5eea7fc (diff) |
[media] xc5000: Add MODULE_FIRMWARE statements
This will make modinfo more useful with regard
to discovering necessary firmware files.
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Michael Krufky <mkrufky@kernellabs.com>
Cc: Eddi De Pieri <eddi@depieri.net>
Cc: linux-media@vger.kernel.org
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/tuners/xc5000.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index bac8009e1d49..362a8d7c9738 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c | |||
@@ -210,13 +210,15 @@ struct xc5000_fw_cfg { | |||
210 | u16 size; | 210 | u16 size; |
211 | }; | 211 | }; |
212 | 212 | ||
213 | #define XC5000A_FIRMWARE "dvb-fe-xc5000-1.6.114.fw" | ||
213 | static const struct xc5000_fw_cfg xc5000a_1_6_114 = { | 214 | static const struct xc5000_fw_cfg xc5000a_1_6_114 = { |
214 | .name = "dvb-fe-xc5000-1.6.114.fw", | 215 | .name = XC5000A_FIRMWARE, |
215 | .size = 12401, | 216 | .size = 12401, |
216 | }; | 217 | }; |
217 | 218 | ||
219 | #define XC5000C_FIRMWARE "dvb-fe-xc5000c-41.024.5.fw" | ||
218 | static const struct xc5000_fw_cfg xc5000c_41_024_5 = { | 220 | static const struct xc5000_fw_cfg xc5000c_41_024_5 = { |
219 | .name = "dvb-fe-xc5000c-41.024.5.fw", | 221 | .name = XC5000C_FIRMWARE, |
220 | .size = 16497, | 222 | .size = 16497, |
221 | }; | 223 | }; |
222 | 224 | ||
@@ -1259,3 +1261,5 @@ EXPORT_SYMBOL(xc5000_attach); | |||
1259 | MODULE_AUTHOR("Steven Toth"); | 1261 | MODULE_AUTHOR("Steven Toth"); |
1260 | MODULE_DESCRIPTION("Xceive xc5000 silicon tuner driver"); | 1262 | MODULE_DESCRIPTION("Xceive xc5000 silicon tuner driver"); |
1261 | MODULE_LICENSE("GPL"); | 1263 | MODULE_LICENSE("GPL"); |
1264 | MODULE_FIRMWARE(XC5000A_FIRMWARE); | ||
1265 | MODULE_FIRMWARE(XC5000C_FIRMWARE); | ||