include/linux/pnp.h:248: parse error before ')' token
Got this when compiling parport_pc.c, looks like a typo in pnp.h
linux/pnp.h 2002-10-20 22:08:49.000000000 +0100 renamed from linux/pnp.h.orig 2002-10-20 22:08:38.000000000 +0100 +1 -1
@@ -245,7 +245,7 @@ /* just in case anyone decides to call these without PnP Support Enabled */ static inline int pnp_protocol_register(struct pnp_protocol *protocol) { return -ENODEV; } -static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; ) +static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; } static inline int pnp_init_device(struct pnp_dev *dev) { return -ENODEV; } static inline int pnp_add_device(struct pnp_dev *dev) { return -ENODEV; } static inline void pnp_remove_device(struct pnp_dev *dev) { ; }
Signature · 2 lines
Martin Dahl [email protected]
Doh, forgot to say, this is with 2.5.44
Quoted 13 lines
Got this when compiling
parport_pc.c, looks like a typo inpnp.hlinux/pnp.h 2002-10-20 22:08:49.000000000 +0100 renamed from linux/pnp.h.orig 2002-10-20 22:08:38.000000000 +0100 +1
-1@@ -245,7 +245,7 @@ /* just in case anyone decides to call these without PnP Support Enabled */ static inline int pnp_protocol_register(struct pnp_protocol *protocol) { return -ENODEV; } -static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; ) +static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; } static inline int pnp_init_device(struct pnp_dev *dev) { return -ENODEV; } static inline int pnp_add_device(struct pnp_dev *dev) { return -ENODEV; } static inline void pnp_remove_device(struct pnp_dev *dev) { ; }
Signature · 2 lines
Martin Dahl [email protected]