commit | b48c89a9699f451e4e236fa7313461281c00e69b | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jul 16 20:33:42 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jul 16 20:33:42 2008 +0200 |
tree | 54a9daa2444e1550a566b9413be7884536ed9a7b | |
parent | e6d95bd14928926d6658b5e4ace905e8b83ed27a [diff] |
cmd640: add ->init_dev method Convert the driver to use ->init_dev method instead of open-coding devices init in cmd640x_init(). While at it: - fix printk()-s to use KERN_INFO level instead of the default KERN_ERR - use DRV_NAME define in printk()-s - set proper ->pio_mask also for CONFIG_BLK_DEV_CMD640_ENHANCED=n There should be no functional changes caused by this patch (except fixing printk()-s levels). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>