diff options
Diffstat (limited to 'drivers/cdrom')
-rw-r--r-- | drivers/cdrom/cdrom.c | 1 | ||||
-rw-r--r-- | drivers/cdrom/cm206.c | 9 | ||||
-rw-r--r-- | drivers/cdrom/sbpcd.c | 1 |
3 files changed, 2 insertions, 9 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 3170eaa25087..ca27ee89240b 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
@@ -263,7 +263,6 @@ | |||
263 | /* #define ERRLOGMASK (CD_WARNING|CD_OPEN|CD_COUNT_TRACKS|CD_CLOSE) */ | 263 | /* #define ERRLOGMASK (CD_WARNING|CD_OPEN|CD_COUNT_TRACKS|CD_CLOSE) */ |
264 | /* #define ERRLOGMASK (CD_WARNING|CD_REG_UNREG|CD_DO_IOCTL|CD_OPEN|CD_CLOSE|CD_COUNT_TRACKS) */ | 264 | /* #define ERRLOGMASK (CD_WARNING|CD_REG_UNREG|CD_DO_IOCTL|CD_OPEN|CD_CLOSE|CD_COUNT_TRACKS) */ |
265 | 265 | ||
266 | #include <linux/config.h> | ||
267 | #include <linux/module.h> | 266 | #include <linux/module.h> |
268 | #include <linux/fs.h> | 267 | #include <linux/fs.h> |
269 | #include <linux/buffer_head.h> | 268 | #include <linux/buffer_head.h> |
diff --git a/drivers/cdrom/cm206.c b/drivers/cdrom/cm206.c index 4ee288688fed..9b05ddd23141 100644 --- a/drivers/cdrom/cm206.c +++ b/drivers/cdrom/cm206.c | |||
@@ -914,7 +914,7 @@ static void seek(int lba) | |||
914 | cd->dsb = wait_dsb(); | 914 | cd->dsb = wait_dsb(); |
915 | } | 915 | } |
916 | 916 | ||
917 | uch bcdbin(unsigned char bcd) | 917 | static uch bcdbin(unsigned char bcd) |
918 | { /* stolen from mcd.c! */ | 918 | { /* stolen from mcd.c! */ |
919 | return (bcd >> 4) * 10 + (bcd & 0xf); | 919 | return (bcd >> 4) * 10 + (bcd & 0xf); |
920 | } | 920 | } |
@@ -1532,7 +1532,7 @@ static void __init parse_options(void) | |||
1532 | } | 1532 | } |
1533 | } | 1533 | } |
1534 | 1534 | ||
1535 | static int __cm206_init(void) | 1535 | static int __init __cm206_init(void) |
1536 | { | 1536 | { |
1537 | parse_options(); | 1537 | parse_options(); |
1538 | #if !defined(AUTO_PROBE_MODULE) | 1538 | #if !defined(AUTO_PROBE_MODULE) |
@@ -1593,8 +1593,3 @@ __setup("cm206=", cm206_setup); | |||
1593 | #endif /* !MODULE */ | 1593 | #endif /* !MODULE */ |
1594 | MODULE_ALIAS_BLOCKDEV_MAJOR(CM206_CDROM_MAJOR); | 1594 | MODULE_ALIAS_BLOCKDEV_MAJOR(CM206_CDROM_MAJOR); |
1595 | 1595 | ||
1596 | /* | ||
1597 | * Local variables: | ||
1598 | * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o cm206.o cm206.c" | ||
1599 | * End: | ||
1600 | */ | ||
diff --git a/drivers/cdrom/sbpcd.c b/drivers/cdrom/sbpcd.c index 2fc966c65a0e..ba50e5a712f2 100644 --- a/drivers/cdrom/sbpcd.c +++ b/drivers/cdrom/sbpcd.c | |||
@@ -381,7 +381,6 @@ | |||
381 | #include <asm/io.h> | 381 | #include <asm/io.h> |
382 | #include <asm/uaccess.h> | 382 | #include <asm/uaccess.h> |
383 | #include <stdarg.h> | 383 | #include <stdarg.h> |
384 | #include <linux/config.h> | ||
385 | #include "sbpcd.h" | 384 | #include "sbpcd.h" |
386 | 385 | ||
387 | #define MAJOR_NR MATSUSHITA_CDROM_MAJOR | 386 | #define MAJOR_NR MATSUSHITA_CDROM_MAJOR |