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
c0ed918e
Commit
c0ed918e
authored
Nov 06, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD] mtdblock devices are called mtdblock%d not mtd%d
parent
0d5e4e13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/mtd/mtdblock.c
drivers/mtd/mtdblock.c
+1
-1
No files found.
drivers/mtd/mtdblock.c
View file @
c0ed918e
...
...
@@ -551,7 +551,7 @@ static void mtd_notify_add(struct mtd_info* mtd)
disk
->
major
=
MAJOR_NR
;
disk
->
first_minor
=
mtd
->
index
;
disk
->
fops
=
&
mtd_fops
;
sprintf
(
disk
->
disk_name
,
"mtd%d"
,
mtd
->
index
);
sprintf
(
disk
->
disk_name
,
"mtd
block
%d"
,
mtd
->
index
);
mtddisk
[
mtd
->
index
]
=
disk
;
set_capacity
(
disk
,
mtd
->
size
/
512
);
...
...
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