• Adrian Bunk's avatar
    V4L/DVB (5017): DVB: fix compile error · c408a6f6
    Adrian Bunk authored
    This patch fixes the following compile error:
    <--  snip  -->
    ...
      LD      drivers/media/video/built-in.o
    drivers/media/video/saa7134/built-in.o:(.data+0x85ec): multiple definition of `ir_rc5_remote_gap'
    drivers/media/video/bt8xx/built-in.o:(.data+0x734c): first defined here
    drivers/media/video/saa7134/built-in.o:(.data+0x85f0): multiple definition of `ir_rc5_key_timeout'
    drivers/media/video/bt8xx/built-in.o:(.data+0x7350): first defined here
    make[4]: *** [drivers/media/video/built-in.o] Error 1
    <--  snip  -->
    Since this variables were needlessly global, this patch implements the
    trivial fix of making them static.
    Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
    c408a6f6
ir-common.h 5.57 KB