Skip to contentSkip to conversation

drx397xD: declare MODULE_FIRMWARE

PATCH Applied Ben Hutchings 1 participant 1 message Nov 7, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 16/75 drx397xD: declare MODULE_FIRMWARE

Move punctuation into definition of _FW_ENTRY so we can use either a comma or semicolon.

---
 drivers/media/dvb/frontends/drx397xD.c    |    7 ++++---
 drivers/media/dvb/frontends/drx397xD_fw.h |    4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
drivers/media/dvb/frontends/drx397xD.c +4 -3
index 868b78b..4f4c403 100644
@@ -39,7 +39,7 @@ static const char mod_name[] = "drx397xD";
 #define F_SET_0D4h	2
 
 enum fw_ix {
-#define _FW_ENTRY(a, b, c)	b
+#define _FW_ENTRY(a, b, c)	b,
 #include "drx397xD_fw.h"
 };
 
@@ -77,7 +77,7 @@ static struct {
 			.file	= NULL,					\
 			.lock	= __RW_LOCK_UNLOCKED(fw[c].lock),	\
 			.refcnt = 0,					\
-			.data	= { }		}
+			.data	= { }		},
 #include "drx397xD_fw.h"
 };
 
@@ -1507,4 +1507,5 @@ EXPORT_SYMBOL(drx397xD_attach);
 MODULE_DESCRIPTION("Micronas DRX397xD DVB-T Frontend");
 MODULE_AUTHOR("Henk Vergonet");
 MODULE_LICENSE("GPL");
-
+#define _FW_ENTRY(a, b, c) MODULE_FIRMWARE(a);
+#include "drx397xD_fw.h"
drivers/media/dvb/frontends/drx397xD_fw.h +2 -2
index c8b44c1..f0260ad 100644
@@ -18,8 +18,8 @@
  */
 
 #ifdef _FW_ENTRY
-	_FW_ENTRY("drx397xD.A2.fw",	DRXD_FW_A2 = 0,	DRXD_FW_A2	),
-	_FW_ENTRY("drx397xD.B1.fw",	DRXD_FW_B1,	DRXD_FW_B1	),
+	_FW_ENTRY("drx397xD.A2.fw",	DRXD_FW_A2 = 0,	DRXD_FW_A2	)
+	_FW_ENTRY("drx397xD.B1.fw",	DRXD_FW_B1,	DRXD_FW_B1	)
 #undef _FW_ENTRY
 #endif /* _FW_ENTRY */
 
Signature · 1 line
1.6.5.2