]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10846): dvb/frontends: fix duplicate 'debug' symbol
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 9 Mar 2009 02:01:08 +0000 (23:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:08 +0000 (12:43 -0300)
commit5a771cb186dfa1f663ea15cdff3e32e04a8427e3
tree84f081cd48cef280ac4cce8bd86cc8e1d7691dbd
parent632fe9fe440249642845675d97436c667cbbd21e
V4L/DVB (10846): dvb/frontends: fix duplicate 'debug' symbol

Fix dvb frontend debug variable to be static, to avoid linker
errors:

drivers/built-in.o:(.data+0xf4b0): multiple definition of `debug'
arch/x86/kernel/built-in.o:(.kprobes.text+0x90): first defined here
ld: Warning: size of symbol `debug' changed from 85 in arch/x86/kernel/built-in.o to 4 in drivers/built-in.o

It would also be Good if arch/x86/kernel/entry_32.S didn't have a
non-static 'debug' symbol.  OTOH, it helps catch things like this one.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv0900_core.c
drivers/media/dvb/frontends/stv0900_priv.h