Bartlomiej Zolnierkiewicz b8df6647c2 skd: register block device only if some devices are present
Register block device in skd_pci_probe() instead of in skd_init() so it
is registered only if some devices are present (currently it is always
registered when the driver is loaded). Please note that this change
depends on the fact that register_blkdev(0, ...) never returns 0.

Cc: Akhil Bhansali <abhansali@stec-inc.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-11-08 09:10:30 -07:00
..
2013-04-09 14:13:19 -04:00
2013-04-09 14:13:32 -04:00
2012-03-28 18:30:03 +01:00
2013-11-08 09:10:28 -07:00
2013-06-29 12:46:45 +04:00
2013-07-03 16:08:05 -07:00
2013-04-09 14:13:32 -04:00