summaryrefslogtreecommitdiff
path: root/xhfc/xhfc_leb.h
diff options
context:
space:
mode:
Diffstat (limited to 'xhfc/xhfc_leb.h')
-rw-r--r--xhfc/xhfc_leb.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/xhfc/xhfc_leb.h b/xhfc/xhfc_leb.h
index 0c1bfb8..9e25f00 100644
--- a/xhfc/xhfc_leb.h
+++ b/xhfc/xhfc_leb.h
@@ -34,6 +34,7 @@
#define LEB_MMBAR 1
#define IRQ_TLP_GPIO_30 31
+#define IRQ_TLP_GPIO_24 29
void leb_init(struct xhfc_pi *leb);
@@ -59,9 +60,9 @@ static inline void write_xhfc(struct xhfc * xhfc, u8 reg_addr, u8 value)
_res; \
})
-#define write_xhfc(x, reg, val) ({ \
- if (DBG_REGS) printk(KERN_INFO #reg " <- %02x\n", val); \
- write_xhfc(x, reg, val); \
+#define write_xhfc(x, reg, val) ({ \
+ if (DBG_REGS) printk(KERN_INFO #reg " <- %02x\n", val); \
+ write_xhfc(x, reg, val); \
})
#endif
#endif