Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
68a9c5ba
Commit
68a9c5ba
authored
Jun 10, 2010
by
Uwe Kleine-König
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: imx1: rename imx_csi_device to match its .name
Signed-off-by:
Uwe Kleine-König
<
u.kleine-koenig@pengutronix.de
>
parent
e9ec2a17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
arch/arm/mach-mx1/devices.c
arch/arm/mach-mx1/devices.c
+6
-6
arch/arm/mach-mx1/devices.h
arch/arm/mach-mx1/devices.h
+1
-1
No files found.
arch/arm/mach-mx1/devices.c
View file @
68a9c5ba
...
...
@@ -29,7 +29,7 @@
#include "devices.h"
static
struct
resource
imx
_csi
_resources
[]
=
{
static
struct
resource
imx
1_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
imx
1_camera
_dmamask
=
DMA_BIT_MASK
(
32
);
struct
platform_device
imx
_csi
_device
=
{
struct
platform_device
imx
1_camera
_device
=
{
.
name
=
"mx1-camera"
,
.
id
=
0
,
/* This is used to put cameras on this interface */
.
dev
=
{
.
dma_mask
=
&
imx
_csi
_dmamask
,
.
dma_mask
=
&
imx
1_camera
_dmamask
,
.
coherent_dma_mask
=
DMA_BIT_MASK
(
32
),
},
.
resource
=
imx
_csi
_resources
,
.
num_resources
=
ARRAY_SIZE
(
imx
_csi
_resources
),
.
resource
=
imx
1_camera
_resources
,
.
num_resources
=
ARRAY_SIZE
(
imx
1_camera
_resources
),
};
static
struct
resource
imx_i2c_resources
[]
=
{
...
...
arch/arm/mach-mx1/devices.h
View file @
68a9c5ba
extern
struct
platform_device
imx
_csi
_device
;
extern
struct
platform_device
imx
1_camera
_device
;
extern
struct
platform_device
imx_i2c_device
;
extern
struct
platform_device
imx_uart1_device
;
extern
struct
platform_device
imx_uart2_device
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment