diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-03 23:49:18 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-01-04 12:42:31 +0100 |
commit | 2bd7b4aacdb6efa5ccd4749c365c171b884791d2 (patch) | |
tree | 992bf7258a89e7d7645bf66d5d088f31553e105c /drivers/mmc/host/sdhci-pci-arasan.c | |
parent | mmc: renesas_sdhi: Add MODULE_LICENSE (diff) | |
download | linux-2bd7b4aacdb6efa5ccd4749c365c171b884791d2.tar.xz linux-2bd7b4aacdb6efa5ccd4749c365c171b884791d2.zip |
mmc: s3mci: mark debug_regs[] as static
The global array clashes with a newly added 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 s3cmci driver by removing
the symbol from the global namespace. While at it, this separates
the declaration from the type definition and makes the variable const.
Fixes: 9bdd203b4dc8 ("s3cmci: add debugfs support for examining driver and hardware state")
Fixes: b3ec9a6736f2 ("staging: ccree: staging: ccree: replace sysfs by debugfs interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci-arasan.c')
0 files changed, 0 insertions, 0 deletions