* [PATCH 16/75] drx397xD: declare MODULE_FIRMWARE
@ 2009-11-07 21:49 Ben Hutchings
0 siblings, 0 replies; only message in thread
From: Ben Hutchings @ 2009-11-07 21:49 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media
Move punctuation into definition of _FW_ENTRY so we can use either a
comma or semicolon.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
drivers/media/dvb/frontends/drx397xD.c | 7 ++++---
drivers/media/dvb/frontends/drx397xD_fw.h | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/media/dvb/frontends/drx397xD.c b/drivers/media/dvb/frontends/drx397xD.c
index 868b78b..4f4c403 100644
--- a/drivers/media/dvb/frontends/drx397xD.c
+++ b/drivers/media/dvb/frontends/drx397xD.c
@@ -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"
diff --git a/drivers/media/dvb/frontends/drx397xD_fw.h b/drivers/media/dvb/frontends/drx397xD_fw.h
index c8b44c1..f0260ad 100644
--- a/drivers/media/dvb/frontends/drx397xD_fw.h
+++ b/drivers/media/dvb/frontends/drx397xD_fw.h
@@ -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 */
--
1.6.5.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-07 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-07 21:49 [PATCH 16/75] drx397xD: declare MODULE_FIRMWARE Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox