From e32e686689596c6e45aeb772917ecf771913b61e Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 8 Aug 2009 14:38:12 +0200 Subject: [PATCH] pcmcia_parse_tuple was redefined in pcmcia/cistpl.h fix build: undef pcmcia_parse_tuple before redefine it again. Signed-off-by: Hauke Mehrtens --- compat/compat-2.6.28.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/compat/compat-2.6.28.h b/compat/compat-2.6.28.h index fdc021a24ecf..e25259f39fa8 100644 --- a/compat/compat-2.6.28.h +++ b/compat/compat-2.6.28.h @@ -29,7 +29,13 @@ }) #endif /* From include/asm-generic/bug.h */ -#define pcmcia_parse_tuple(tuple, parse) pcmcia_parse_tuple(NULL, tuple, parse) +#include +#include +#include +#ifdef pcmcia_parse_tuple +#undef pcmcia_parse_tuple +#define pcmcia_parse_tuple(tuple, parse) pccard_parse_tuple(tuple, parse) +#endif #if 0 extern void usb_poison_urb(struct urb *urb); -- 2.30.2