diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-08-18 18:18:12 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-09-09 18:14:16 +0300 |
commit | b519c9c7e68d5e2e9d5aaff3843fda09342c79d7 (patch) | |
tree | 23338d2c251d48e198f7c7061b8bcb8d65fd126b /arch/arm/mach-footbridge/isa.c | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) | |
download | linux-b519c9c7e68d5e2e9d5aaff3843fda09342c79d7.tar.xz |
ARM: footbridge: remove addin mode
This does not appear to have been used in many years, we can
kill off some of the uglier code.
Among other things, it avoids a randconfig issue when both modes
are disabled:
arch/arm/mach-footbridge/common.c:149:24: error: 'ebsa285_host_io_desc' defined but not used [-Werror=unused-variable]
149 | static struct map_desc ebsa285_host_io_desc[] __initdata = {
| ^~~~~~~~~~~~~~~~~~~~
arch/arm/mach-footbridge/common.c:136:24: error: 'fb_common_io_desc' defined but not used [-Werror=unused-variable]
136 | static struct map_desc fb_common_io_desc[] __initdata = {
| ^~~~~~~~~~~~~~~~~
The recently added phys_to_dma() functions are now trivial and
could probably be removed again as a follow-up, if anyone knows
how.
Cc: Christoph Hellwig <hch@lst.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-footbridge/isa.c')
-rw-r--r-- | arch/arm/mach-footbridge/isa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-footbridge/isa.c b/arch/arm/mach-footbridge/isa.c index ec5af521cf95..3375ac23c046 100644 --- a/arch/arm/mach-footbridge/isa.c +++ b/arch/arm/mach-footbridge/isa.c @@ -79,9 +79,6 @@ static int __init footbridge_isa_init(void) { int err = 0; - if (!footbridge_cfn_mode()) - return 0; - /* Personal server doesn't have RTC */ if (!machine_is_personal_server()) { isa_rtc_init(); |