Skip to content

Commit

Permalink
ARM: imx1: rename imx_csi_device to match its .name
Browse files Browse the repository at this point in the history
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information
Uwe Kleine-König committed Jun 24, 2010
1 parent e9ec2a1 commit 68a9c5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions arch/arm/mach-mx1/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include "devices.h"

static struct resource imx_csi_resources[] = {
static struct resource imx1_camera_resources[] = {
{
.start = 0x00224000,
.end = 0x00224010,
Expand All @@ -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[] = {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-mx1/devices.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 68a9c5b

Please sign in to comment.