diff options
Diffstat (limited to 'drivers/sbus/char/jsflash.c')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index d31ef5193..458fe20af 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c @@ -271,7 +271,7 @@ static loff_t jsf_lseek(struct file * file, loff_t offset, int orig) } /* - * P3: OS SIMM Cannot be read in other size but a 32bits word. + * OS SIMM Cannot be read in other size but a 32bits word. */ static ssize_t jsf_read(struct file * file, char * buf, size_t togo, loff_t *ppos) @@ -647,8 +647,7 @@ int jsfd_init(void) { int i; if (jsf0.base == 0) { - printk("jsfd_init: no flash\n"); /* P3 */ - return -EIO; + return -ENXIO; } if (register_blkdev(JSFD_MAJOR, "jsfd", &jsfd_fops)) { @@ -657,8 +656,6 @@ int jsfd_init(void) { return -EIO; } - printk("jsfd0: at major %d\n", MAJOR_NR); /* P3 */ - blksize_size[JSFD_MAJOR] = jsfd_blksizes; blk_size[JSFD_MAJOR] = jsfd_sizes; |