[PATCH 0/3] capebus moving omap_devices to mach-omap2

From: Pantelis Antoniou
Date: Wed Oct 31 2012 - 13:26:07 EST


It is painless to move the adapter DT devices to arch/arm/mach-omap2

However I got bit by the __init at omap_build_device family functions.
If you don't remove it, crashes every time you instantiate a device
at runtime, or you load the cape driver as a module.

Pantelis Antoniou (3):
omap-device: Remove __init from omap_device_build family functions
da8xx-dt: Create da8xx DT adapter device
ti-tscadc-dt: Create ti-tscadc-dt DT adapter device

arch/arm/mach-omap2/Makefile | 4 +
arch/arm/mach-omap2/da8xx-dt.c | 197 +++++++++++++++++++++++++++++++++++++
arch/arm/mach-omap2/ti-tscadc-dt.c | 155 +++++++++++++++++++++++++++++
arch/arm/plat-omap/omap_device.c | 4 +-
4 files changed, 358 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/mach-omap2/da8xx-dt.c
create mode 100644 arch/arm/mach-omap2/ti-tscadc-dt.c

--
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/