ARM: SAMSUNG: move setup code for s5p mfc and mipiphy into plat-samsung
authorKukjin Kim <kgene.kim@samsung.com>
Wed, 18 Apr 2012 03:21:30 +0000 (20:21 -0700)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 12 May 2012 22:01:59 +0000 (07:01 +0900)
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/Kconfig
arch/arm/plat-s5p/Makefile
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/s5p-dev-mfc.c [moved from arch/arm/plat-s5p/dev-mfc.c with 97% similarity]
arch/arm/plat-samsung/setup-mipiphy.c [moved from arch/arm/plat-s5p/setup-mipiphy.c with 100% similarity]

index 33d9bc8..4ff6d7e 100644 (file)
@@ -63,11 +63,6 @@ config S5P_DEV_I2C_HDMIPHY
        help
          Compile in platform device definitions for I2C HDMIPHY controller
 
-config S5P_DEV_MFC
-       bool
-       help
-         Compile in platform device definitions for MFC
-
 config S5P_DEV_ONENAND
        bool
        help
@@ -92,8 +87,3 @@ config S5P_DEV_USB_EHCI
        bool
        help
          Compile in platform device definition for USB EHCI
-
-config S5P_SETUP_MIPIPHY
-       bool
-       help
-         Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices
index 1dc6b1c..884b9a1 100644 (file)
@@ -9,8 +9,3 @@ obj-y                           :=
 obj-m                          :=
 obj-n                          := dummy.o
 obj-                           :=
-
-# devices
-
-obj-$(CONFIG_S5P_DEV_MFC)      += dev-mfc.o
-obj-$(CONFIG_S5P_SETUP_MIPIPHY)        += setup-mipiphy.o
index 5ce6bc8..7fec2e9 100644 (file)
@@ -309,6 +309,11 @@ config SAMSUNG_DEV_BACKLIGHT
        help
          Compile in platform device definition LCD backlight with PWM Timer
 
+config S5P_DEV_MFC
+       bool
+       help
+         Compile in setup memory (init) code for MFC
+
 config S3C24XX_PWM
        bool "PWM device support"
        select HAVE_PWM
@@ -316,6 +321,11 @@ config S3C24XX_PWM
          Support for exporting the PWM timer blocks via the pwm device
          system
 
+config S5P_SETUP_MIPIPHY
+       bool
+       help
+         Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices
+
 # DMA
 
 config S3C_DMA
index b20047b..860b2db 100644 (file)
@@ -36,10 +36,13 @@ obj-y                               += platformdata.o
 
 obj-y                          += devs.o
 obj-y                          += dev-uart.o
+obj-$(CONFIG_S5P_DEV_MFC)      += s5p-dev-mfc.o
 obj-$(CONFIG_S5P_DEV_UART)     += s5p-dev-uart.o
 
 obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)    += dev-backlight.o
 
+obj-$(CONFIG_S5P_SETUP_MIPIPHY)        += setup-mipiphy.o
+
 # DMA support
 
 obj-$(CONFIG_S3C_DMA)          += dma.o s3c-dma-ops.o
similarity index 97%
rename from arch/arm/plat-s5p/dev-mfc.c
rename to arch/arm/plat-samsung/s5p-dev-mfc.c
index a30d36b..ad60894 100644 (file)
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s5p/dev-mfc.c
- *
+/*
  * Copyright (C) 2010-2011 Samsung Electronics Co.Ltd
  *
  * Base S5P MFC resource and device definitions
@@ -9,7 +8,6 @@
  * published by the Free Software Foundation.
  */
 
-
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>