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
3fa6dd6a
Commit
3fa6dd6a
authored
Apr 08, 2009
by
Darius Augulis
Committed by
Sascha Hauer
Apr 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MX1ADS: remove I2C ifdefs
Signed-off-by:
Darius Augulis
<
augulis.darius@gmail.com
>
parent
248ca85f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
arch/arm/mach-mx1/mx1ads.c
arch/arm/mach-mx1/mx1ads.c
+0
-6
No files found.
arch/arm/mach-mx1/mx1ads.c
View file @
3fa6dd6a
...
@@ -28,9 +28,7 @@
...
@@ -28,9 +28,7 @@
#include <mach/common.h>
#include <mach/common.h>
#include <mach/imx-uart.h>
#include <mach/imx-uart.h>
#include <mach/irqs.h>
#include <mach/irqs.h>
#ifdef CONFIG_I2C_IMX
#include <mach/i2c.h>
#include <mach/i2c.h>
#endif
#include <mach/iomux.h>
#include <mach/iomux.h>
#include "devices.h"
#include "devices.h"
...
@@ -114,7 +112,6 @@ static struct platform_device flash_device = {
...
@@ -114,7 +112,6 @@ static struct platform_device flash_device = {
* I2C
* I2C
*/
*/
#ifdef CONFIG_I2C_IMX
static
int
i2c_pins
[]
=
{
static
int
i2c_pins
[]
=
{
PA15_PF_I2C_SDA
,
PA15_PF_I2C_SDA
,
PA16_PF_I2C_SCL
,
PA16_PF_I2C_SCL
,
...
@@ -157,7 +154,6 @@ static struct i2c_board_info mx1ads_i2c_devices[] = {
...
@@ -157,7 +154,6 @@ static struct i2c_board_info mx1ads_i2c_devices[] = {
.
platform_data
=
&
pcf857x_data
[
1
],
.
platform_data
=
&
pcf857x_data
[
1
],
},
},
};
};
#endif
/*
/*
* Board init
* Board init
...
@@ -172,12 +168,10 @@ static void __init mx1ads_init(void)
...
@@ -172,12 +168,10 @@ static void __init mx1ads_init(void)
mxc_register_device
(
&
flash_device
,
&
mx1ads_flash_data
);
mxc_register_device
(
&
flash_device
,
&
mx1ads_flash_data
);
/* I2C */
/* I2C */
#ifdef CONFIG_I2C_IMX
i2c_register_board_info
(
0
,
mx1ads_i2c_devices
,
i2c_register_board_info
(
0
,
mx1ads_i2c_devices
,
ARRAY_SIZE
(
mx1ads_i2c_devices
));
ARRAY_SIZE
(
mx1ads_i2c_devices
));
mxc_register_device
(
&
imx_i2c_device
,
&
mx1ads_i2c_data
);
mxc_register_device
(
&
imx_i2c_device
,
&
mx1ads_i2c_data
);
#endif
}
}
static
void
__init
mx1ads_timer_init
(
void
)
static
void
__init
mx1ads_timer_init
(
void
)
...
...
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