aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/gio_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/gio_device.h')
-rw-r--r--arch/mips/include/asm/gio_device.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/include/asm/gio_device.h b/arch/mips/include/asm/gio_device.h
index 5437c84664bf..0878701712f8 100644
--- a/arch/mips/include/asm/gio_device.h
+++ b/arch/mips/include/asm/gio_device.h
@@ -6,15 +6,15 @@ struct gio_device_id {
6}; 6};
7 7
8struct gio_device { 8struct gio_device {
9 struct device dev; 9 struct device dev;
10 struct resource resource; 10 struct resource resource;
11 unsigned int irq; 11 unsigned int irq;
12 unsigned int slotno; 12 unsigned int slotno;
13 13
14 const char *name; 14 const char *name;
15 struct gio_device_id id; 15 struct gio_device_id id;
16 unsigned id32:1; 16 unsigned id32:1;
17 unsigned gio64:1; 17 unsigned gio64:1;
18}; 18};
19#define to_gio_device(d) container_of(d, struct gio_device, dev) 19#define to_gio_device(d) container_of(d, struct gio_device, dev)
20 20
@@ -50,7 +50,7 @@ static inline void gio_device_free(struct gio_device *dev)
50extern int gio_register_driver(struct gio_driver *); 50extern int gio_register_driver(struct gio_driver *);
51extern void gio_unregister_driver(struct gio_driver *); 51extern void gio_unregister_driver(struct gio_driver *);
52 52
53#define gio_get_drvdata(_dev) drv_get_drvdata(&(_dev)->dev) 53#define gio_get_drvdata(_dev) drv_get_drvdata(&(_dev)->dev)
54#define gio_set_drvdata(_dev, data) drv_set_drvdata(&(_dev)->dev, (data)) 54#define gio_set_drvdata(_dev, data) drv_set_drvdata(&(_dev)->dev, (data))
55 55
56extern void gio_set_master(struct gio_device *); 56extern void gio_set_master(struct gio_device *);