]> git.baikalelectronics.ru Git - kernel.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)
commit070d8c7b4a6941c90ee9be4d802ff3ef9b9a7341
tree0af006a591ad75d0450c651b558694b96bf1d6ea
parente84e803d7381997951a4f98578d63d409ace9b15
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