Commit e2d496c5 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] gendisk typo fixes

Some trivial fixes for some typos introduced by Al's gendisk changes..

 - missing comma in cdu31a
 - missing semicolon in cdu31a
 - comma instead of colon in gscd
 - semicolon instead of comma in mcd
 - missing closing bracket in sonycd535
parent b890a32b
...@@ -3193,10 +3193,10 @@ static struct gendisk scd_gendisk = { ...@@ -3193,10 +3193,10 @@ static struct gendisk scd_gendisk = {
.major = MAJOR_NR, .major = MAJOR_NR,
.first_minor = 0, .first_minor = 0,
.minor_shift = 0, .minor_shift = 0,
.major_name = "cdu31a" .major_name = "cdu31a",
.fops = &scd_bdops, .fops = &scd_bdops,
.flags = GENHD_FL_CD, .flags = GENHD_FL_CD,
} };
/* The different types of disc loading mechanisms supported */ /* The different types of disc loading mechanisms supported */
static char *load_mech[] __initdata = static char *load_mech[] __initdata =
......
...@@ -901,7 +901,7 @@ static void update_state(void) ...@@ -901,7 +901,7 @@ static void update_state(void)
static struct gendisk gscd_disk = { static struct gendisk gscd_disk = {
.major = MAJOR_NR, .major = MAJOR_NR,
.first_minor = 0, .first_minor = 0,
,minor_shift = 0, .minor_shift = 0,
.fops = &gscd_fops, .fops = &gscd_fops,
.major_name = "gscd" .major_name = "gscd"
}; };
......
...@@ -227,7 +227,7 @@ static struct gendisk mcd_gendisk = { ...@@ -227,7 +227,7 @@ static struct gendisk mcd_gendisk = {
.minor_shift = 0, .minor_shift = 0,
.major_name = "mcd", .major_name = "mcd",
.fops = &mcd_bdops, .fops = &mcd_bdops,
.flags = GENHD_FL_CD; .flags = GENHD_FL_CD,
}; };
#ifndef MODULE #ifndef MODULE
......
...@@ -1461,7 +1461,8 @@ static struct gendisk cdu_disk = ...@@ -1461,7 +1461,8 @@ static struct gendisk cdu_disk =
.first_minor = 0, .first_minor = 0,
.minor_shift = 0, .minor_shift = 0,
.fops = &cdu_fops, .fops = &cdu_fops,
.major_name = "cdu" .major_name = "cdu",
};
/* /*
* Initialize the driver. * Initialize the driver.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment