]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ccree: mark debug_regs[] as static
authorArnd Bergmann <arnd@arndb.de>
Wed, 3 Jan 2018 09:26:17 +0000 (10:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:26:15 +0000 (16:26 +0100)
commita897ff13c272fc6f22785b8b7daa328e3aa782c1
tree036c46b265c84a8b9b6b6f0de36f527b54a595f4
parented0553d458b243e70c1ab11f928c434f4ec95e8f
staging: ccree: mark debug_regs[] as static

The global array clashes with an existing symbol of the same name:

drivers/staging/ccree/cc_debugfs.o:(.data+0x0): multiple definition of `debug_regs'
drivers/mmc/host/s3cmci.o:(.data+0x70): first defined here

We should fix both, this one addresses the ccree driver by removing
the symbol from the global namespace.

Fixes: deb018502671 ("s3cmci: add debugfs support for examining driver and hardware state")
Fixes: b33080aafae2 ("staging: ccree: staging: ccree: replace sysfs by debugfs interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/cc_debugfs.c