diff options
| author | Bartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl> | 2003-08-30 22:17:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-30 22:17:43 -0700 |
| commit | 9c034d86c8f0e2e14f69fcb3def1889b545695de (patch) | |
| tree | 71c385f9f6e12d6afaaf913181163e537096dc28 /include/linux/ide.h | |
| parent | b3adc105a678eed360bccf9d1f75a6f653bc09de (diff) | |
[PATCH] kill ide_module_t
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index b22175fa2a9a..a68f7871d3bb 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -1242,20 +1242,6 @@ typedef struct ide_driver_s { extern int generic_ide_ioctl(struct block_device *, unsigned, unsigned long); -/* - * IDE modules. - */ -#define IDE_PROBE_MODULE 1 - -typedef int (ide_module_init_proc)(void); - -typedef struct ide_module_s { - int type; - ide_module_init_proc *init; - void *info; - struct ide_module_s *next; -} ide_module_t; - typedef struct ide_devices_s { char name[4]; /* hdX */ unsigned attached : 1; /* native */ @@ -1273,7 +1259,7 @@ typedef struct ide_devices_s { */ #ifndef _IDE_C extern ide_hwif_t ide_hwifs[]; /* master data repository */ -extern ide_module_t *ide_probe; +extern int (*ide_probe)(void); extern ide_devices_t *idedisk; extern ide_devices_t *idecd; |
