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
0fbfd987
Commit
0fbfd987
authored
Jan 14, 2011
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM i.MX35 pcm043: remove unnecessary CONFIG_I2C ifdefs
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
376e9c58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
arch/arm/mach-mx3/mach-pcm043.c
arch/arm/mach-mx3/mach-pcm043.c
+0
-4
No files found.
arch/arm/mach-mx3/mach-pcm043.c
View file @
0fbfd987
...
@@ -115,7 +115,6 @@ static const struct imxuart_platform_data uart_pdata __initconst = {
...
@@ -115,7 +115,6 @@ static const struct imxuart_platform_data uart_pdata __initconst = {
.
flags
=
IMXUART_HAVE_RTSCTS
,
.
flags
=
IMXUART_HAVE_RTSCTS
,
};
};
#if defined CONFIG_I2C_IMX || defined CONFIG_I2C_IMX_MODULE
static
const
struct
imxi2c_platform_data
pcm043_i2c0_data
__initconst
=
{
static
const
struct
imxi2c_platform_data
pcm043_i2c0_data
__initconst
=
{
.
bitrate
=
50000
,
.
bitrate
=
50000
,
};
};
...
@@ -134,7 +133,6 @@ static struct i2c_board_info pcm043_i2c_devices[] = {
...
@@ -134,7 +133,6 @@ static struct i2c_board_info pcm043_i2c_devices[] = {
I2C_BOARD_INFO
(
"pcf8563"
,
0x51
),
I2C_BOARD_INFO
(
"pcf8563"
,
0x51
),
}
}
};
};
#endif
static
struct
platform_device
*
devices
[]
__initdata
=
{
static
struct
platform_device
*
devices
[]
__initdata
=
{
&
pcm043_flash
,
&
pcm043_flash
,
...
@@ -369,12 +367,10 @@ static void __init mxc_board_init(void)
...
@@ -369,12 +367,10 @@ static void __init mxc_board_init(void)
imx35_add_imx_uart1
(
&
uart_pdata
);
imx35_add_imx_uart1
(
&
uart_pdata
);
#if defined CONFIG_I2C_IMX || defined CONFIG_I2C_IMX_MODULE
i2c_register_board_info
(
0
,
pcm043_i2c_devices
,
i2c_register_board_info
(
0
,
pcm043_i2c_devices
,
ARRAY_SIZE
(
pcm043_i2c_devices
));
ARRAY_SIZE
(
pcm043_i2c_devices
));
imx35_add_imx_i2c0
(
&
pcm043_i2c0_data
);
imx35_add_imx_i2c0
(
&
pcm043_i2c0_data
);
#endif
mxc_register_device
(
&
mx3_ipu
,
&
mx3_ipu_data
);
mxc_register_device
(
&
mx3_ipu
,
&
mx3_ipu_data
);
mxc_register_device
(
&
mx3_fb
,
&
mx3fb_pdata
);
mxc_register_device
(
&
mx3_fb
,
&
mx3fb_pdata
);
...
...
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