diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-02 10:12:48 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-02 10:12:48 -0500 |
commit | ebdab07dad3d3a008e519b0a028e1e1ad5ecaef0 (patch) | |
tree | f4ada61ebd953949b14ef75b3bfa8cb16002dc2f /include/linux/ide.h | |
parent | 24630dc68a499baec367d24285bc6b92207cc100 (diff) |
ide: move sysfs support to ide-sysfs.c
While at it:
- media_string() -> ide_media_string()
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index e99c56de7f56..62fccaea3110 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1533,6 +1533,7 @@ void ide_unregister_region(struct gendisk *); | |||
1533 | void ide_undecoded_slave(ide_drive_t *); | 1533 | void ide_undecoded_slave(ide_drive_t *); |
1534 | 1534 | ||
1535 | void ide_port_apply_params(ide_hwif_t *); | 1535 | void ide_port_apply_params(ide_hwif_t *); |
1536 | int ide_sysfs_register_port(ide_hwif_t *); | ||
1536 | 1537 | ||
1537 | struct ide_host *ide_host_alloc(const struct ide_port_info *, hw_regs_t **); | 1538 | struct ide_host *ide_host_alloc(const struct ide_port_info *, hw_regs_t **); |
1538 | void ide_host_free(struct ide_host *); | 1539 | void ide_host_free(struct ide_host *); |
@@ -1627,6 +1628,9 @@ extern struct mutex ide_cfg_mtx; | |||
1627 | 1628 | ||
1628 | #define local_irq_set(flags) do { local_save_flags((flags)); local_irq_enable_in_hardirq(); } while (0) | 1629 | #define local_irq_set(flags) do { local_save_flags((flags)); local_irq_enable_in_hardirq(); } while (0) |
1629 | 1630 | ||
1631 | char *ide_media_string(ide_drive_t *); | ||
1632 | |||
1633 | extern struct device_attribute ide_dev_attrs[]; | ||
1630 | extern struct bus_type ide_bus_type; | 1634 | extern struct bus_type ide_bus_type; |
1631 | extern struct class *ide_port_class; | 1635 | extern struct class *ide_port_class; |
1632 | 1636 | ||