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
580ad591
Commit
580ad591
authored
Oct 03, 2008
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic fixes to sync up with mainline merges
Signed-off-by:
Tony Lindgren
<
tony@atomide.com
>
parent
22e6b780
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3beagle.c
+2
-1
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-overo.c
+8
-4
arch/arm/mach-omap2/irq.c
arch/arm/mach-omap2/irq.c
+0
-1
arch/arm/plat-omap/devices.c
arch/arm/plat-omap/devices.c
+1
-1
No files found.
arch/arm/mach-omap2/board-omap3beagle.c
View file @
580ad591
...
@@ -286,7 +286,8 @@ static void __init omap3beagle_flash_init(void)
...
@@ -286,7 +286,8 @@ static void __init omap3beagle_flash_init(void)
static
void
__init
omap3_beagle_init
(
void
)
static
void
__init
omap3_beagle_init
(
void
)
{
{
omap3_beagle_i2c_init
();
omap3_beagle_i2c_init
();
platform_add_devices
(
omap3_beagle_devices
,
ARRAY_SIZE
(
omap3_beagle_devices
));
platform_add_devices
(
omap3_beagle_devices
,
ARRAY_SIZE
(
omap3_beagle_devices
));
omap_board_config
=
omap3_beagle_config
;
omap_board_config
=
omap3_beagle_config
;
omap_board_config_size
=
ARRAY_SIZE
(
omap3_beagle_config
);
omap_board_config_size
=
ARRAY_SIZE
(
omap3_beagle_config
);
omap_serial_init
();
omap_serial_init
();
...
...
arch/arm/mach-omap2/board-overo.c
View file @
580ad591
...
@@ -225,7 +225,8 @@ static void __init overo_init(void)
...
@@ -225,7 +225,8 @@ static void __init overo_init(void)
udelay
(
10
);
udelay
(
10
);
gpio_set_value
(
OVERO_GPIO_W2W_NRESET
,
1
);
gpio_set_value
(
OVERO_GPIO_W2W_NRESET
,
1
);
}
else
{
}
else
{
printk
(
KERN_ERR
"could not obtain gpio for OVERO_GPIO_W2W_NRESET
\n
"
);
printk
(
KERN_ERR
"could not obtain gpio for "
"OVERO_GPIO_W2W_NRESET
\n
"
);
}
}
if
((
gpio_request
(
OVERO_GPIO_BT_NRESET
,
"OVERO_GPIO_BT_NRESET"
)
==
0
)
&&
if
((
gpio_request
(
OVERO_GPIO_BT_NRESET
,
"OVERO_GPIO_BT_NRESET"
)
==
0
)
&&
...
@@ -235,21 +236,24 @@ static void __init overo_init(void)
...
@@ -235,21 +236,24 @@ static void __init overo_init(void)
mdelay
(
6
);
mdelay
(
6
);
gpio_set_value
(
OVERO_GPIO_BT_NRESET
,
1
);
gpio_set_value
(
OVERO_GPIO_BT_NRESET
,
1
);
}
else
{
}
else
{
printk
(
KERN_ERR
"could not obtain gpio for OVERO_GPIO_BT_NRESET
\n
"
);
printk
(
KERN_ERR
"could not obtain gpio for "
"OVERO_GPIO_BT_NRESET
\n
"
);
}
}
if
((
gpio_request
(
OVERO_GPIO_USBH_CPEN
,
"OVERO_GPIO_USBH_CPEN"
)
==
0
)
&&
if
((
gpio_request
(
OVERO_GPIO_USBH_CPEN
,
"OVERO_GPIO_USBH_CPEN"
)
==
0
)
&&
(
gpio_direction_output
(
OVERO_GPIO_USBH_CPEN
,
1
)
==
0
))
(
gpio_direction_output
(
OVERO_GPIO_USBH_CPEN
,
1
)
==
0
))
gpio_export
(
OVERO_GPIO_USBH_CPEN
,
0
);
gpio_export
(
OVERO_GPIO_USBH_CPEN
,
0
);
else
else
printk
(
KERN_ERR
"could not obtain gpio for OVERO_GPIO_USBH_CPEN
\n
"
);
printk
(
KERN_ERR
"could not obtain gpio for "
"OVERO_GPIO_USBH_CPEN
\n
"
);
if
((
gpio_request
(
OVERO_GPIO_USBH_NRESET
,
if
((
gpio_request
(
OVERO_GPIO_USBH_NRESET
,
"OVERO_GPIO_USBH_NRESET"
)
==
0
)
&&
"OVERO_GPIO_USBH_NRESET"
)
==
0
)
&&
(
gpio_direction_output
(
OVERO_GPIO_USBH_NRESET
,
1
)
==
0
))
(
gpio_direction_output
(
OVERO_GPIO_USBH_NRESET
,
1
)
==
0
))
gpio_export
(
OVERO_GPIO_USBH_NRESET
,
0
);
gpio_export
(
OVERO_GPIO_USBH_NRESET
,
0
);
else
else
printk
(
KERN_ERR
"could not obtain gpio for OVERO_GPIO_USBH_NRESET
\n
"
);
printk
(
KERN_ERR
"could not obtain gpio for "
"OVERO_GPIO_USBH_NRESET
\n
"
);
}
}
static
void
__init
overo_map_io
(
void
)
static
void
__init
overo_map_io
(
void
)
...
...
arch/arm/mach-omap2/irq.c
View file @
580ad591
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
#include <linux/interrupt.h>
#include <linux/interrupt.h>
#include <mach/hardware.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/io.h>
/* selected INTC register offsets */
/* selected INTC register offsets */
...
...
arch/arm/plat-omap/devices.c
View file @
580ad591
...
@@ -94,7 +94,7 @@ static inline void omap_init_dsp(void) { }
...
@@ -94,7 +94,7 @@ static inline void omap_init_dsp(void) { }
static
void
omap_init_kp
(
void
)
static
void
omap_init_kp
(
void
)
{
{
/*
REVISIT: 2430
keypad is on TWL4030 */
/*
2430 and 34xx
keypad is on TWL4030 */
if
(
cpu_is_omap2430
()
||
cpu_is_omap34xx
())
if
(
cpu_is_omap2430
()
||
cpu_is_omap34xx
())
return
;
return
;
...
...
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