]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
OMAP: mcbsp: Move core driver under sound/soc/omap
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 26 Jan 2012 10:47:22 +0000 (12:47 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:19 +0000 (13:34 +0000)
In order to consolidate the McBSP driver move it out from
arch/arm/plat-omap directory under sound/soc/omap/

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/Makefile
sound/soc/omap/Kconfig
sound/soc/omap/Makefile
sound/soc/omap/mcbsp.c [moved from arch/arm/plat-omap/mcbsp.c with 99% similarity]

index aa59f4247dc53bba585fa7f93e050c10902a0708..8f81503a4df77ee6cb1c0c9ad52d723db9aa3f89 100644 (file)
@@ -110,14 +110,6 @@ config OMAP_MUX_WARNINGS
          to change the pin multiplexing setup.  When there are no warnings
          printed, it's safe to deselect OMAP_MUX for your product.
 
-config OMAP_MCBSP
-       bool "McBSP support"
-       depends on ARCH_OMAP
-       default y
-       help
-         Say Y here if you want support for the OMAP Multichannel
-         Buffered Serial Port.
-
 config OMAP_MBOX_FWK
        tristate "Mailbox framework support"
        depends on ARCH_OMAP
index 9a584614e7e66feb051ddde13f61545f94632290..c0fe2757b695e74f098edbdca4125541d842d4a1 100644 (file)
@@ -17,8 +17,6 @@ obj-$(CONFIG_ARCH_OMAP2) += omap_device.o
 obj-$(CONFIG_ARCH_OMAP3) += omap_device.o
 obj-$(CONFIG_ARCH_OMAP4) += omap_device.o
 
-obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
-
 obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
 obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o
 obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
index 47b23fea20c21cc897b60428c8abb4ac218b766e..27a3a29f7cd3c64156d6ff7fdfdeba0e60c09fcf 100644 (file)
@@ -5,6 +5,10 @@ config SND_OMAP_SOC
 config SND_OMAP_SOC_DMIC
        tristate
 
+config OMAP_MCBSP
+       tristate
+       depends on ARCH_OMAP
+
 config SND_OMAP_SOC_MCBSP
        tristate
        select OMAP_MCBSP
index 123ac18303e50bbd759d6ef98d28288d8c5b750a..9f8fbd554eb6b8dda616d7f6b50b5bf3089f89a1 100644 (file)
@@ -7,6 +7,7 @@ snd-soc-omap-hdmi-objs := omap-hdmi.o
 
 obj-$(CONFIG_SND_OMAP_SOC) += snd-soc-omap.o
 obj-$(CONFIG_SND_OMAP_SOC_DMIC) += snd-soc-omap-dmic.o
+obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
 obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o
 obj-$(CONFIG_SND_OMAP_SOC_MCPDM) += snd-soc-omap-mcpdm.o
 obj-$(CONFIG_SND_OMAP_SOC_HDMI) += snd-soc-omap-hdmi.o
similarity index 99%
rename from arch/arm/plat-omap/mcbsp.c
rename to sound/soc/omap/mcbsp.c
index 3c704f36e0f711cd1182207e51dde757002ff5a9..36d83b0c9f02c349f71c99e81f76b602b634dd2e 100644 (file)
@@ -1,9 +1,11 @@
 /*
- * linux/arch/arm/plat-omap/mcbsp.c
+ * sound/soc/omap/mcbsp.c
  *
  * Copyright (C) 2004 Nokia Corporation
  * Author: Samuel Ortiz <samuel.ortiz@nokia.com>
  *
+ * Contact: Jarkko Nikula <jarkko.nikula@bitmer.com>
+ *          Peter Ujfalusi <peter.ujfalusi@ti.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as