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
b78fa732
Commit
b78fa732
authored
Feb 26, 2003
by
Art Haas
Committed by
Linus Torvalds
Feb 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializer for drivers/mtd/nand/spia.c
parent
b591f0de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
drivers/mtd/nand/spia.c
drivers/mtd/nand/spia.c
+9
-6
No files found.
drivers/mtd/nand/spia.c
View file @
b78fa732
...
...
@@ -66,12 +66,15 @@ __setup("spia_peddr=",spia_peddr);
* Define partitions for flash device
*/
const
static
struct
mtd_partition
partition_info
[]
=
{
{
name
:
"SPIA flash partition 1"
,
offset:
0
,
size:
2
*
1024
*
1024
},
{
name
:
"SPIA flash partition 2"
,
offset:
2
*
1024
*
1024
,
size:
6
*
1024
*
1024
}
{
.
name
=
"SPIA flash partition 1"
,
.
size
=
2
*
1024
*
1024
},
{
.
name
=
"SPIA flash partition 2"
,
.
offset
=
2
*
1024
*
1024
,
.
size
=
6
*
1024
*
1024
}
};
#define NUM_PARTITIONS 2
...
...
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