diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/block/sunvdc.c | 2 | ||||
| -rw-r--r-- | drivers/char/random.c | 2 | ||||
| -rw-r--r-- | drivers/ide/ide-cd.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 66e30155b0ab..a8de037ecd4a 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c | |||
| @@ -732,7 +732,7 @@ static struct vio_driver_ops vdc_vio_ops = { | |||
| 732 | .handshake_complete = vdc_handshake_complete, | 732 | .handshake_complete = vdc_handshake_complete, |
| 733 | }; | 733 | }; |
| 734 | 734 | ||
| 735 | static void print_version(void) | 735 | static void __devinit print_version(void) |
| 736 | { | 736 | { |
| 737 | static int version_printed; | 737 | static int version_printed; |
| 738 | 738 | ||
diff --git a/drivers/char/random.c b/drivers/char/random.c index 5fee05661823..c511a831f0c0 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
| @@ -667,8 +667,6 @@ void add_disk_randomness(struct gendisk *disk) | |||
| 667 | add_timer_randomness(disk->random, | 667 | add_timer_randomness(disk->random, |
| 668 | 0x100 + MKDEV(disk->major, disk->first_minor)); | 668 | 0x100 + MKDEV(disk->major, disk->first_minor)); |
| 669 | } | 669 | } |
| 670 | |||
| 671 | EXPORT_SYMBOL(add_disk_randomness); | ||
| 672 | #endif | 670 | #endif |
| 673 | 671 | ||
| 674 | #define EXTRACT_SIZE 10 | 672 | #define EXTRACT_SIZE 10 |
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 74c6087ada38..bee05a3f52ae 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
| @@ -1722,7 +1722,7 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) | |||
| 1722 | */ | 1722 | */ |
| 1723 | if ((stat & DRQ_STAT) == 0) { | 1723 | if ((stat & DRQ_STAT) == 0) { |
| 1724 | spin_lock_irqsave(&ide_lock, flags); | 1724 | spin_lock_irqsave(&ide_lock, flags); |
| 1725 | if (__blk_end_request(rq, 0, 0)) | 1725 | if (__blk_end_request(rq, 0, rq->data_len)) |
| 1726 | BUG(); | 1726 | BUG(); |
| 1727 | HWGROUP(drive)->rq = NULL; | 1727 | HWGROUP(drive)->rq = NULL; |
| 1728 | spin_unlock_irqrestore(&ide_lock, flags); | 1728 | spin_unlock_irqrestore(&ide_lock, flags); |
