mg_disk: fix dependency on libata
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 28 Apr 2009 04:06:16 +0000 (13:06 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 06:14:52 +0000 (08:14 +0200)
commit8a11a789c39cd6f61de4243234cf44a46c23ffd0
treeec88d32cffdf40bf13c3f83ad4220e4205666e3f
parenta03bb5a32fff4aa23f081a3cff7e98d4084104cd
mg_disk: fix dependency on libata

Add local copies of ata_id_string() and ata_id_c_string() to mg_disk
so there is no need for the driver to depend on ATA and SCSI.

[ Impact: break dependency on libata by copying ata id string functions ]

Cc: unsik Kim <donari75@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/Kconfig
drivers/block/mg_disk.c