diff options
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index ca9d34feb572..c74b0321922a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -961,7 +961,7 @@ __IDE_PROC_DEVSET(_name, _min, _max, NULL, NULL)  typedef struct {  	const char	*name;  	umode_t		mode; -	const struct file_operations *proc_fops; +	int (*show)(struct seq_file *, void *);  } ide_proc_entry_t;  void proc_ide_create(void); @@ -973,8 +973,8 @@ void ide_proc_unregister_port(ide_hwif_t *);  void ide_proc_register_driver(ide_drive_t *, struct ide_driver *);  void ide_proc_unregister_driver(ide_drive_t *, struct ide_driver *); -extern const struct file_operations ide_capacity_proc_fops; -extern const struct file_operations ide_geometry_proc_fops; +int ide_capacity_proc_show(struct seq_file *m, void *v); +int ide_geometry_proc_show(struct seq_file *m, void *v);  #else  static inline void proc_ide_create(void) { ; }  static inline void proc_ide_destroy(void) { ; } @@ -1508,8 +1508,6 @@ static inline void ide_set_hwifdata (ide_hwif_t * hwif, void *data)  	hwif->hwif_data = data;  } -extern void ide_toggle_bounce(ide_drive_t *drive, int on); -  u64 ide_get_lba_addr(struct ide_cmd *, int);  u8 ide_dump_status(ide_drive_t *, const char *, u8);  | 
