]> git.openfabrics.org - ~emulex/infiniband.git/commit
USB: isd200: don't include <linux/ide.h>
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 27 Oct 2007 16:01:04 +0000 (18:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:47 +0000 (14:34 -0800)
commitc74e809565b27085519c723a949761cea7badb4b
tree98102fb4aa46c77d6c2e77de99fa623b1752337d
parent1365baf7249bb2d05e774e7681237b8e86f5007a
USB: isd200: don't include <linux/ide.h>

Now that commit 3794ade5b286cbd4551009dd341dbe9aeead2bc3 removed
incorrect dependency on CONFIG_IDE we can fix the driver to not
include <linux/ide.h>:

* add ATA_REG_{ERROR,LCYL,HCYL,STATUS}_OFFSET defines and use them
  instead of IDE_{ERROR,LCYL,HCYL,STATUS}_OFFSET from <linux/ide.h>

* remove no longer needed <linux/ide.h> include

* remove incorrect comment added by the last commit:
  - isd200.c is not the only user of struct hd_driveid besides IDE
    (see drivers/block/xsysace.c and arch/um/drivers/ubd_kern.c)

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