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
5ec561af
Commit
5ec561af
authored
Jan 14, 2011
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM i.MX27 pca100: remove unnecessary CONFIG_SPI_IMX ifdefs
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
9f43e44b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
arch/arm/mach-imx/mach-pca100.c
arch/arm/mach-imx/mach-pca100.c
+0
-4
No files found.
arch/arm/mach-imx/mach-pca100.c
View file @
5ec561af
...
@@ -187,7 +187,6 @@ static struct i2c_board_info pca100_i2c_devices[] = {
...
@@ -187,7 +187,6 @@ static struct i2c_board_info pca100_i2c_devices[] = {
}
}
};
};
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
static
struct
spi_eeprom
at25320
=
{
static
struct
spi_eeprom
at25320
=
{
.
name
=
"at25320an"
,
.
name
=
"at25320an"
,
.
byte_len
=
4096
,
.
byte_len
=
4096
,
...
@@ -211,7 +210,6 @@ static const struct spi_imx_master pca100_spi0_data __initconst = {
...
@@ -211,7 +210,6 @@ static const struct spi_imx_master pca100_spi0_data __initconst = {
.
chipselect
=
pca100_spi_cs
,
.
chipselect
=
pca100_spi_cs
,
.
num_chipselect
=
ARRAY_SIZE
(
pca100_spi_cs
),
.
num_chipselect
=
ARRAY_SIZE
(
pca100_spi_cs
),
};
};
#endif
static
void
pca100_ac97_warm_reset
(
struct
snd_ac97
*
ac97
)
static
void
pca100_ac97_warm_reset
(
struct
snd_ac97
*
ac97
)
{
{
...
@@ -389,13 +387,11 @@ static void __init pca100_init(void)
...
@@ -389,13 +387,11 @@ static void __init pca100_init(void)
imx27_add_imx_i2c
(
1
,
&
pca100_i2c1_data
);
imx27_add_imx_i2c
(
1
,
&
pca100_i2c1_data
);
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
mxc_gpio_mode
(
GPIO_PORTD
|
28
|
GPIO_GPIO
|
GPIO_IN
);
mxc_gpio_mode
(
GPIO_PORTD
|
28
|
GPIO_GPIO
|
GPIO_IN
);
mxc_gpio_mode
(
GPIO_PORTD
|
27
|
GPIO_GPIO
|
GPIO_IN
);
mxc_gpio_mode
(
GPIO_PORTD
|
27
|
GPIO_GPIO
|
GPIO_IN
);
spi_register_board_info
(
pca100_spi_board_info
,
spi_register_board_info
(
pca100_spi_board_info
,
ARRAY_SIZE
(
pca100_spi_board_info
));
ARRAY_SIZE
(
pca100_spi_board_info
));
imx27_add_spi_imx0
(
&
pca100_spi0_data
);
imx27_add_spi_imx0
(
&
pca100_spi0_data
);
#endif
gpio_request
(
OTG_PHY_CS_GPIO
,
"usb-otg-cs"
);
gpio_request
(
OTG_PHY_CS_GPIO
,
"usb-otg-cs"
);
gpio_direction_output
(
OTG_PHY_CS_GPIO
,
1
);
gpio_direction_output
(
OTG_PHY_CS_GPIO
,
1
);
...
...
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