]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
isd200: make it 'struct hd_driveid'-free
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:19 +0000 (21:42 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:19 +0000 (21:42 +0200)
commitd8881cdab5e1810b0a03b480ed16c1e761e68257
tree2f75a727f64af91dc8c1805dc4e9a31cc0d52bcd
parent4fe70410d9a219dabb47328effccae7e7f2a6e26
isd200: make it 'struct hd_driveid'-free

* Factor out debug dump of id from isd200_get_inquiry_data()
  to isd200_dump_driveid().

* Change id field in struct isd200_info from 'struct hd_driveid *id'
  to 'u16 *id' and update driver accordingly.

* Include <linux/ata.h> directly instead of through <linux/hdreg.h>.

While at it:

* Use ata_id_u32() and ata_id_has_lba() macros.

There should be no functional changes caused by this patch.

Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/usb/storage/isd200.c