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
db06e2a9
Commit
db06e2a9
authored
Dec 10, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD] Fix SSFDC build for variable blocksize.
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
dffbc42b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/mtd/ssfdc.c
drivers/mtd/ssfdc.c
+1
-1
No files found.
drivers/mtd/ssfdc.c
View file @
db06e2a9
...
...
@@ -311,7 +311,6 @@ static void ssfdcr_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
ssfdc
->
mbd
.
mtd
=
mtd
;
ssfdc
->
mbd
.
devnum
=
-
1
;
ssfdc
->
mbd
.
blksize
=
SECTOR_SIZE
;
ssfdc
->
mbd
.
tr
=
tr
;
ssfdc
->
mbd
.
readonly
=
1
;
...
...
@@ -446,6 +445,7 @@ static struct mtd_blktrans_ops ssfdcr_tr = {
.
name
=
"ssfdc"
,
.
major
=
SSFDCR_MAJOR
,
.
part_bits
=
SSFDCR_PARTN_BITS
,
.
blksize
=
SECTOR_SIZE
;
.
getgeo
=
ssfdcr_getgeo
,
.
readsect
=
ssfdcr_readsect
,
.
add_mtd
=
ssfdcr_add_mtd
,
...
...
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