lkml.org 
[lkml]   [2012]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] capebus moving omap_devices to mach-omap2
Date
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



\
 
 \ /
  Last update: 2012-10-31 19:21    [W:0.176 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site