]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: imx1: rename imx_csi_device to match its .name
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 10 Jun 2010 15:45:23 +0000 (17:45 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 24 Jun 2010 13:40:43 +0000 (15:40 +0200)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/mach-mx1/devices.c
arch/arm/mach-mx1/devices.h

index 860cbb7397d59fe5116579d880d4b16301bb745f..fa3809d2d1bf3795be138fdce4f643f872e41fe7 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "devices.h"
 
-static struct resource imx_csi_resources[] = {
+static struct resource imx1_camera_resources[] = {
        {
                .start  = 0x00224000,
                .end    = 0x00224010,
@@ -41,17 +41,17 @@ static struct resource imx_csi_resources[] = {
        },
 };
 
-static u64 imx_csi_dmamask = DMA_BIT_MASK(32);
+static u64 imx1_camera_dmamask = DMA_BIT_MASK(32);
 
-struct platform_device imx_csi_device = {
+struct platform_device imx1_camera_device = {
        .name           = "mx1-camera",
        .id             = 0, /* This is used to put cameras on this interface */
        .dev            = {
-               .dma_mask = &imx_csi_dmamask,
+               .dma_mask = &imx1_camera_dmamask,
                .coherent_dma_mask = DMA_BIT_MASK(32),
        },
-       .resource       = imx_csi_resources,
-       .num_resources  = ARRAY_SIZE(imx_csi_resources),
+       .resource       = imx1_camera_resources,
+       .num_resources  = ARRAY_SIZE(imx1_camera_resources),
 };
 
 static struct resource imx_i2c_resources[] = {
index 0da5d7cce3a22991fda072072e532635dc487049..899f8d97e6827f0bc5e59babd34e07fe7de1a87c 100644 (file)
@@ -1,4 +1,4 @@
-extern struct platform_device imx_csi_device;
+extern struct platform_device imx1_camera_device;
 extern struct platform_device imx_i2c_device;
 extern struct platform_device imx_uart1_device;
 extern struct platform_device imx_uart2_device;