mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-01 14:44:23 +07:00
![]() Using 'select' in Kconfig is hard, a platform cannot just
enable a driver without also making sure that its subsystem
is there. Also, there is no actual code dependency between
the platform and the gpio leds driver.
Without this patch, building without LEDS_CLASS esults in:
drivers/built-in.o: In function `create_gpio_led.part.2':
governor_userspace.c:(.devinit.text+0x5a58): undefined reference to `led_classdev_register'
drivers/built-in.o: In function `gpio_led_remove':
governor_userspace.c:(.devexit.text+0x6b8): undefined reference to `led_classdev_unregister'
This reverts
|
||
---|---|---|
.. | ||
include/mach | ||
board-mop500-msp.c | ||
board-mop500-msp.h | ||
board-mop500-pins.c | ||
board-mop500-regulators.c | ||
board-mop500-regulators.h | ||
board-mop500-sdi.c | ||
board-mop500-stuib.c | ||
board-mop500-u8500uib.c | ||
board-mop500-uib.c | ||
board-mop500.c | ||
board-mop500.h | ||
cache-l2x0.c | ||
clock.c | ||
clock.h | ||
cpu-db8500.c | ||
cpu.c | ||
cpuidle.c | ||
devices-common.c | ||
devices-common.h | ||
devices-db8500.c | ||
devices-db8500.h | ||
devices.c | ||
headsmp.S | ||
hotplug.c | ||
id.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
pins-db8500.h | ||
platsmp.c | ||
ste-dma40-db8500.h | ||
timer.c | ||
usb.c |