diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2014-06-04 12:00:37 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-06-04 22:50:42 +0200 |
commit | 1d421ca9d7edbac1eb118631ee039d50ab54771e (patch) | |
tree | 5268e99e5fbf4c7c9513b45f9bfd6265df1a1aab /arch/mips/include/asm/gio_device.h | |
parent | a53825ef4e9b2f42a21ad2b903f4d0ce691a5d63 (diff) | |
download | talos-op-linux-1d421ca9d7edbac1eb118631ee039d50ab54771e.tar.gz talos-op-linux-1d421ca9d7edbac1eb118631ee039d50ab54771e.zip |
MIPS: IP22/IP28: Improve GIO support
- added interrupt support for GIO devices
- improved detection of GIO cards on Indigo2
- added more known GIO cards
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7055/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/gio_device.h')
-rw-r--r-- | arch/mips/include/asm/gio_device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/gio_device.h b/arch/mips/include/asm/gio_device.h index 0878701712f8..4be1a57cdbb0 100644 --- a/arch/mips/include/asm/gio_device.h +++ b/arch/mips/include/asm/gio_device.h @@ -50,7 +50,7 @@ static inline void gio_device_free(struct gio_device *dev) extern int gio_register_driver(struct gio_driver *); extern void gio_unregister_driver(struct gio_driver *); -#define gio_get_drvdata(_dev) drv_get_drvdata(&(_dev)->dev) -#define gio_set_drvdata(_dev, data) drv_set_drvdata(&(_dev)->dev, (data)) +#define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) +#define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data)) extern void gio_set_master(struct gio_device *); |