Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP
If the renamed symbol is defined lib/iomap.c implements ioport_map and ioport_unmap and currently (nearly) all platforms define the port accessor functions outb/inb and friend unconditionally. So HAS_IOPORT_MAP is the better name for this. Consequently NO_IOPORT is renamed to NO_IOPORT_MAP. The motivation for this change is to reintroduce a symbol HAS_IOPORT that signals if outb/int et al are available. I will address that at least one merge window later though to keep surprises to a minimum and catch new introductions of (HAS|NO)_IOPORT. The changes in this commit were done using: $ git grep -l -E '(NO|HAS)_IOPORT' | xargs perl -p -i -e 's/\b((?:CONFIG_)?(?:NO|HAS)_IOPORT)\b/$1_MAP/' Signed-off-by:Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/arc/Kconfig 1 addition, 1 deletionarch/arc/Kconfig
- arch/arm/Kconfig 6 additions, 6 deletionsarch/arm/Kconfig
- arch/arm/mach-picoxcell/Kconfig 1 addition, 1 deletionarch/arm/mach-picoxcell/Kconfig
- arch/arm/mach-prima2/Kconfig 1 addition, 1 deletionarch/arm/mach-prima2/Kconfig
- arch/arm/mach-s3c24xx/Kconfig 1 addition, 1 deletionarch/arm/mach-s3c24xx/Kconfig
- arch/arm/mach-shmobile/Kconfig 1 addition, 1 deletionarch/arm/mach-shmobile/Kconfig
- arch/arm/mach-vexpress/Kconfig 1 addition, 1 deletionarch/arm/mach-vexpress/Kconfig
- arch/arm/plat-samsung/Kconfig 2 additions, 2 deletionsarch/arm/plat-samsung/Kconfig
- arch/arm64/Kconfig 1 addition, 1 deletionarch/arm64/Kconfig
- arch/cris/Kconfig 1 addition, 1 deletionarch/cris/Kconfig
- arch/hexagon/Kconfig 1 addition, 1 deletionarch/hexagon/Kconfig
- arch/m32r/Kconfig 1 addition, 1 deletionarch/m32r/Kconfig
- arch/m68k/Kconfig 1 addition, 1 deletionarch/m68k/Kconfig
- arch/metag/Kconfig 1 addition, 1 deletionarch/metag/Kconfig
- arch/mips/Kconfig 2 additions, 2 deletionsarch/mips/Kconfig
- arch/openrisc/Kconfig 1 addition, 1 deletionarch/openrisc/Kconfig
- arch/s390/Kconfig 1 addition, 1 deletionarch/s390/Kconfig
- arch/sh/Kconfig 2 additions, 2 deletionsarch/sh/Kconfig
- arch/sh/boards/Kconfig 4 additions, 4 deletionsarch/sh/boards/Kconfig
- arch/sh/include/asm/io.h 2 additions, 2 deletionsarch/sh/include/asm/io.h
Loading
Please register or sign in to comment