forked from luck/tmp_suning_uos_patched
0b405a0f7e
The driver model has a "detach_state" mechanism that: - Has never been used by any in-kernel drive; - Is superfluous, since driver remove() methods can do the same thing; - Became buggy when the suspend() parameter changed semantics and type; - Could self-deadlock when called from certain suspend contexts; - Is effectively wasted documentation, object code, and headspace. This removes that "detach_state" mechanism; net code shrink, as well as a per-device saving in the driver model and sysfs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 lines
370 B
Makefile
15 lines
370 B
Makefile
# Makefile for the Linux device tree
|
|
|
|
obj-y := core.o sys.o bus.o \
|
|
driver.o class.o class_simple.o platform.o \
|
|
cpu.o firmware.o init.o map.o dmapool.o \
|
|
attribute_container.o transport_class.o
|
|
obj-y += power/
|
|
obj-$(CONFIG_FW_LOADER) += firmware_class.o
|
|
obj-$(CONFIG_NUMA) += node.o
|
|
|
|
ifeq ($(CONFIG_DEBUG_DRIVER),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|