summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>2004-02-19 05:42:40 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-19 05:42:40 -0800
commitbd877aaf172d919ba4fed911150e65e2918076c7 (patch)
treeeaf1fb8f609877cc41f2728db82bf6b59c1eaf39 /include/linux
parentff7e1b286f0ec6080f24c21240a78c3dc6de05fb (diff)
[PATCH] kill useless IDE_SUBDRIVER_VERSION
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 901785ff9259..8dcca646dd92 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1152,8 +1152,6 @@ enum {
/*
* Subdrivers support.
*/
-#define IDE_SUBDRIVER_VERSION 1
-
typedef struct ide_driver_s {
struct module *owner;
const char *name;
@@ -1525,7 +1523,7 @@ extern void default_hwif_transport(ide_hwif_t *);
int ide_register_driver(ide_driver_t *driver);
void ide_unregister_driver(ide_driver_t *driver);
-int ide_register_subdriver (ide_drive_t *drive, ide_driver_t *driver, int version);
+int ide_register_subdriver(ide_drive_t *, ide_driver_t *);
int ide_unregister_subdriver (ide_drive_t *drive);
int ide_replace_subdriver(ide_drive_t *drive, const char *driver);