mirror of https://github.com/torvalds/linux.git
Both arch/nios2/ and drivers/mmc/host/tmio_mmc.c define a macro
with the name "CTL_STATUS". Change the one in arch/nios2/ to be
"CTL_FSTATUS" (flags status) to eliminate the build warning.
In file included from ../drivers/mmc/host/tmio_mmc.c:22:
drivers/mmc/host/tmio_mmc.h:31: warning: "CTL_STATUS" redefined
31 | #define CTL_STATUS 0x1c
arch/nios2/include/asm/registers.h:14: note: this is the location of the previous definition
14 | #define CTL_STATUS 0
Fixes:
|
||
|---|---|---|
| .. | ||
| Kbuild | ||
| asm-macros.h | ||
| asm-offsets.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| cpuinfo.h | ||
| delay.h | ||
| elf.h | ||
| entry.h | ||
| io.h | ||
| irq.h | ||
| irqflags.h | ||
| kgdb.h | ||
| linkage.h | ||
| mmu.h | ||
| mmu_context.h | ||
| page.h | ||
| pgalloc.h | ||
| pgtable-bits.h | ||
| pgtable.h | ||
| processor.h | ||
| ptrace.h | ||
| registers.h | ||
| setup.h | ||
| shmparam.h | ||
| string.h | ||
| switch_to.h | ||
| syscall.h | ||
| syscalls.h | ||
| thread_info.h | ||
| timex.h | ||
| tlb.h | ||
| tlbflush.h | ||
| traps.h | ||
| uaccess.h | ||
| vmalloc.h | ||