linux/drivers/mmc
Arnd Bergmann e1d1889dc6 mmc: s3mci: mark debug_regs[] as static
commit 2bd7b4aacd upstream.

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: 9bdd203b4d ("s3cmci: add debugfs support for examining driver and hardware state")
Fixes: b3ec9a6736 ("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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-03-03 15:52:10 +00:00
..
card mmc: core: Annotate cmd_hdr as __le32 2017-02-23 03:54:14 +00:00
core mmc: core: fix multi-bit bus width without high-speed mode 2017-03-16 02:27:13 +00:00
host mmc: s3mci: mark debug_regs[] as static 2018-03-03 15:52:10 +00:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00