Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758847Ab2JaRZB (ORCPT ); Wed, 31 Oct 2012 13:25:01 -0400 Received: from li42-95.members.linode.com ([209.123.162.95]:57327 "EHLO li42-95.members.linode.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754234Ab2JaRY7 (ORCPT ); Wed, 31 Oct 2012 13:24:59 -0400 From: Pantelis Antoniou To: Tony Lindgren Cc: Pantelis Antoniou , linux-kernel@vger.kernel.org, Koen Kooi , Matt Porter , Russ Dill , linux-omap@vger.kernel.org Subject: [PATCH 0/3] capebus moving omap_devices to mach-omap2 Date: Thu, 1 Nov 2012 17:17:59 +0200 Message-Id: <1351783082-11411-1-git-send-email-panto@antoniou-consulting.com> X-Mailer: git-send-email 1.7.12 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 27 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/