]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
xsysace: make it 'struct hd_driveid'-free
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:22 +0000 (21:42 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:22 +0000 (21:42 +0200)
commit4aaf2fec718f6fbf38668edf733a0ab09a49cab1
tree2825245ceb1eaf5c62c9e68282751fb2d9881df2
parent73855e13b2bce2bb5cd2a62c270fb07f49353e02
xsysace: make it 'struct hd_driveid'-free

* Change cf_id field in struct ace_device 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() macro.

There should be no functional changes caused by this patch.

Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/block/xsysace.c