Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
e305ec80
Commit
e305ec80
authored
Apr 25, 2008
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: rts7751r2d: Kill off unneeded ifdefs.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
a1dc4b59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
arch/sh/boards/renesas/rts7751r2d/setup.c
arch/sh/boards/renesas/rts7751r2d/setup.c
+2
-5
No files found.
arch/sh/boards/renesas/rts7751r2d/setup.c
View file @
e305ec80
...
...
@@ -109,7 +109,6 @@ static struct platform_device heartbeat_device = {
.
resource
=
heartbeat_resources
,
};
#ifdef CONFIG_MFD_SM501
static
struct
plat_serial8250_port
uart_platform_data
[]
=
{
{
.
membase
=
(
void
__iomem
*
)
0xb3e30000
,
...
...
@@ -208,13 +207,9 @@ static struct platform_device sm501_device = {
.
resource
=
sm501_resources
,
};
#endif
/* CONFIG_MFD_SM501 */
static
struct
platform_device
*
rts7751r2d_devices
[]
__initdata
=
{
#ifdef CONFIG_MFD_SM501
&
uart_device
,
&
sm501_device
,
#endif
&
heartbeat_device
,
&
spi_sh_sci_device
,
};
...
...
@@ -234,7 +229,9 @@ static int __init rts7751r2d_devices_setup(void)
{
if
(
register_trapped_io
(
&
cf_trapped_io
)
==
0
)
platform_device_register
(
&
cf_ide_device
);
spi_register_board_info
(
spi_bus
,
ARRAY_SIZE
(
spi_bus
));
return
platform_add_devices
(
rts7751r2d_devices
,
ARRAY_SIZE
(
rts7751r2d_devices
));
}
...
...
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