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
nexedi
linux
Commits
e63cedb6
Commit
e63cedb6
authored
Mar 25, 2009
by
Russell King
Committed by
Russell King
Mar 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] collie: fix two minor formatting nits
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
17a92a78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arch/arm/mach-sa1100/collie.c
arch/arm/mach-sa1100/collie.c
+4
-3
No files found.
arch/arm/mach-sa1100/collie.c
View file @
e63cedb6
...
@@ -146,7 +146,8 @@ static struct locomo_driver collie_uart_driver = {
...
@@ -146,7 +146,8 @@ static struct locomo_driver collie_uart_driver = {
.
remove
=
collie_uart_remove
,
.
remove
=
collie_uart_remove
,
};
};
static
int
__init
collie_uart_init
(
void
)
{
static
int
__init
collie_uart_init
(
void
)
{
return
locomo_driver_register
(
&
collie_uart_driver
);
return
locomo_driver_register
(
&
collie_uart_driver
);
}
}
device_initcall
(
collie_uart_init
);
device_initcall
(
collie_uart_init
);
...
@@ -198,8 +199,7 @@ static struct mtd_partition collie_partitions[] = {
...
@@ -198,8 +199,7 @@ static struct mtd_partition collie_partitions[] = {
static
int
collie_flash_init
(
void
)
static
int
collie_flash_init
(
void
)
{
{
int
rc
;
int
rc
=
gpio_request
(
COLLIE_GPIO_VPEN
,
"flash Vpp enable"
);
rc
=
gpio_request
(
COLLIE_GPIO_VPEN
,
"flash Vpp enable"
);
if
(
rc
)
if
(
rc
)
return
rc
;
return
rc
;
...
@@ -219,6 +219,7 @@ static void collie_flash_exit(void)
...
@@ -219,6 +219,7 @@ static void collie_flash_exit(void)
{
{
gpio_free
(
COLLIE_GPIO_VPEN
);
gpio_free
(
COLLIE_GPIO_VPEN
);
}
}
static
struct
flash_platform_data
collie_flash_data
=
{
static
struct
flash_platform_data
collie_flash_data
=
{
.
map_name
=
"cfi_probe"
,
.
map_name
=
"cfi_probe"
,
.
init
=
collie_flash_init
,
.
init
=
collie_flash_init
,
...
...
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