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
3a6cf23d
Commit
3a6cf23d
authored
Apr 03, 2007
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Fix warnings for 2430
Fix warnings for 2430 Signed-off-by:
Tony Lindgren
<
tony@atomide.com
>
parent
6230719e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
arch/arm/plat-omap/devices.c
arch/arm/plat-omap/devices.c
+8
-5
No files found.
arch/arm/plat-omap/devices.c
View file @
3a6cf23d
...
...
@@ -157,6 +157,10 @@ static inline void omap_init_i2c(void) {}
static
void
omap_init_kp
(
void
)
{
/* REVISIT: 2430 keypad is on TWL4030 */
if
(
cpu_is_omap2430
())
return
;
if
(
machine_is_omap_h2
()
||
machine_is_omap_h3
())
{
omap_cfg_reg
(
F18_1610_KBC0
);
omap_cfg_reg
(
D20_1610_KBC1
);
...
...
@@ -283,6 +287,10 @@ static void __init omap_init_mmc(void)
const
struct
omap_mmc_config
*
mmc_conf
;
const
struct
omap_mmc_conf
*
mmc
;
/* REVISIT: 2430 has HS MMC */
if
(
cpu_is_omap2430
())
return
;
/* NOTE: assumes MMC was never (wrongly) enabled */
mmc_conf
=
omap_get_config
(
OMAP_TAG_MMC
,
struct
omap_mmc_config
);
if
(
!
mmc_conf
)
...
...
@@ -495,10 +503,6 @@ static inline void omap_init_rng(void) {}
*/
static
int
__init
omap_init_devices
(
void
)
{
/*
* Need to enable relevant once for 2430 SDP
*/
#ifndef CONFIG_MACH_OMAP_2430SDP
/* please keep these calls, and their implementations above,
* in alphabetical order so they're easier to sort through.
*/
...
...
@@ -508,7 +512,6 @@ static int __init omap_init_devices(void)
omap_init_uwire
();
omap_init_wdt
();
omap_init_rng
();
#endif
omap_init_i2c
();
return
0
;
}
...
...
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