mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
8e58041114
The davinci platform has tried to get support for the EEPROM right, but failed to get a clean build so far. At the moment, we get a warning whenever CONFIG_SYSFS is disabled, as that is needed by EEPROM_AT24: warning: (MACH_DAVINCI_EVM && MACH_SFFSDR && MACH_DAVINCI_DM6467_EVM && MACH_DAVINCI_DM365_EVM && MACH_DAVINCI_DA830_EVM && MACH_MITYOMAPL138 && MACH_MINI2440) selects EEPROM_AT24 which has unmet direct dependencies (I2C && SYSFS) Kevin Hilman initially added the 'select' to ensure that EEPROM_AT24 is always enabled in machines that really want it for normal operation (i.e. for reading the MAC address). This broke when I2C was disabled, and Russell King followed up with another patch to select that as well. I now see that the SYSFS dependency is still missing, which leaves us with three options: a) add 'select SYSFS' in addition to the others b) change AT24_EEPPROM to work without sysfs (should be possible) c) remove all those selects again and get the files to build when I2C is disabled. I would really hate to do a) because adding select statements that hardwire user-selectable symbols is generally a bad idea. I first tried b) but then ended up redoing the patch from scratch to approach c), so we can also remove the other selects. I checked that CONFIG_I2C is still enabled with davinci_all_defconfig, so that does not have to change. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: |
||
---|---|---|
.. | ||
include/mach | ||
aemif.c | ||
asp.h | ||
board-da830-evm.c | ||
board-da850-evm.c | ||
board-dm355-evm.c | ||
board-dm355-leopard.c | ||
board-dm365-evm.c | ||
board-dm644x-evm.c | ||
board-dm646x-evm.c | ||
board-mityomapl138.c | ||
board-neuros-osd2.c | ||
board-omapl138-hawk.c | ||
board-sffsdr.c | ||
clock.c | ||
clock.h | ||
common.c | ||
cp_intc.c | ||
cp_intc.h | ||
cpuidle.c | ||
cpuidle.h | ||
da8xx-dt.c | ||
da830.c | ||
da850.c | ||
davinci.h | ||
ddr2.h | ||
devices-da8xx.c | ||
devices.c | ||
dm355.c | ||
dm365.c | ||
dm644x.c | ||
dm646x.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
mux.c | ||
mux.h | ||
pm_domain.c | ||
pm.c | ||
psc.c | ||
psc.h | ||
serial.c | ||
sleep.S | ||
sram.c | ||
sram.h | ||
time.c | ||
usb.c |