mirror of
https://github.com/torvalds/linux.git
synced 2026-07-20 04:27:38 +02:00
platform_add_devices can be used from within modules, so it should be exported. This can for example happen if you have hotpluggable firmware in an FPGA on a system on chip processor; in our case the FPGA is probed for devices and the FPGA base code registers the devices it has found with the kernel. (akpm: I think this is reasonable from a licensing POV: it's unlikely that anyone would be interested in merging such specialised modules into mainline, and it's a GPL export). Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
|---|---|---|
| .. | ||
| power | ||
| attribute_container.c | ||
| base.h | ||
| bus.c | ||
| class_simple.c | ||
| class.c | ||
| core.c | ||
| cpu.c | ||
| dmapool.c | ||
| driver.c | ||
| firmware_class.c | ||
| firmware.c | ||
| init.c | ||
| interface.c | ||
| Kconfig | ||
| Makefile | ||
| map.c | ||
| node.c | ||
| platform.c | ||
| sys.c | ||
| transport_class.c | ||