Browse Source

[media] stb6100: warning cleanup

drivers/media/dvb/frontends/stb6100.c:120: warning: ‘stb6100_normalise_regs’ defined but not used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 14 năm trước cách đây
mục cha
commit
a931910d3b
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      drivers/media/dvb/frontends/stb6100.c

+ 4 - 1
drivers/media/dvb/frontends/stb6100.c

@@ -117,7 +117,10 @@ static const struct stb6100_regmask stb6100_template[] = {
 	[STB6100_TEST3]		= { 0x00, 0xde },
 };
 
-static void stb6100_normalise_regs(u8 regs[])
+/*
+ * Currently unused. Some boards might need it in the future
+ */
+static inline void stb6100_normalise_regs(u8 regs[])
 {
 	int i;