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

* Change ubd_id in ubd_ioctl() from 'struct hd_driveid *id'
  to 'u16 *id' and update driver accordingly.

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

There should be no functional changes caused by this patch.

Cc: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
arch/um/drivers/ubd_kern.c