This patch adds the camera interface driver and the corresponding
configuration option to the 3D7K machine.

Signed-off-by: Werner Almesberger <[email protected]>

---

Index: cam/arch/arm/mach-s3c6410/mach-om-3d7k.c
===================================================================
--- cam.orig/arch/arm/mach-s3c6410/mach-om-3d7k.c       2009-03-04 
19:36:12.000000000 +0800
+++ cam/arch/arm/mach-s3c6410/mach-om-3d7k.c    2009-03-04 20:12:50.000000000 
+0800
@@ -84,6 +84,8 @@
 #include <plat/regs-usb-hs-otg.h>
 
 extern struct platform_device s3c_device_usbgadget;
+extern struct platform_device s3c_device_camif; /* @@@ change plat/devs.h */
+
 
 /* 
-------------------------------------------------------------------------------
  * OM_3D7K FIQ related
@@ -962,6 +964,7 @@
        &om_3d7k_device_spi_lcm,
        &s3c_device_usbgadget,
        &s3c24xx_pwm_device,
+       &s3c_device_camif,
 };
 
 
Index: cam/arch/arm/mach-s3c6410/Kconfig
===================================================================
--- cam.orig/arch/arm/mach-s3c6410/Kconfig      2009-03-04 19:36:12.000000000 
+0800
+++ cam/arch/arm/mach-s3c6410/Kconfig   2009-03-04 20:12:50.000000000 +0800
@@ -70,6 +70,7 @@
        select S3C6410_SETUP_SDHCI
        select S3C64XX_SETUP_I2C1
        select S3C_DEV_FB
+       select S3C_DEV_CAMIF
        select S3C64XX_SETUP_FB_24BPP
 #      select SENSORS_PCF50633
        select POWER_SUPPLY

-- 

Reply via email to