diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-26 08:07:39 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-26 08:07:39 -0200 |
commit | c60eeb90b566a1e86113d543f98af82a5a8b58b4 (patch) | |
tree | bc9d95996ceb178c6156cc5e631a77b1c4b1ca55 /linux/drivers/media/radio/radio-mr800.c | |
parent | d8fa5b2669acb99dcbc246d93bef9f2028c1aff0 (diff) | |
download | mediapointer-dvb-s2-c60eeb90b566a1e86113d543f98af82a5a8b58b4.tar.gz mediapointer-dvb-s2-c60eeb90b566a1e86113d543f98af82a5a8b58b4.tar.bz2 |
Kbuild: fix compilation when dib7000p is not defined
From: Mauro Carvalho Chehab <mchehab@redhat.com>
dib7000p.h defines a few extern symbols when CONFIG_DVB_DIB7000P is not set. since the
header is used on more than one driver, this causes symbol duplication, as pointed by
Ingo Molnar <mingo@elte.hu>:
drivers/media/dvb/built-in.o: In function `dib7000p_set_gpio':
(.text+0x3f242): multiple definition of `dib7000p_set_gpio'
drivers/media/video/built-in.o:(.text+0xb8c1e): first defined here
drivers/media/dvb/built-in.o: In function `dib7000p_i2c_enumeration':
(.text+0x3f282): multiple definition of `dib7000p_i2c_enumeration'
drivers/media/video/built-in.o:(.text+0xb8c3e): first defined here
drivers/media/dvb/built-in.o: In function `dib7000p_set_wbd_ref':
(.text+0x3f1c1): multiple definition of `dib7000p_set_wbd_ref'
drivers/media/video/built-in.o:(.text+0xb8bfe): first defined here
LD drivers/net/built-in.o
make[2]: *** [drivers/media/built-in.o] Error 1
Priority: normal
CC: Patrick Boettcher <patrick.boettcher@desy.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/radio/radio-mr800.c')
0 files changed, 0 insertions, 0 deletions