2.5.44 Typo in include/linux/pnp.h
PATCH 1/1 2.5.44 Typo in include/linux/pnp.h
Heelo World,
The attached patch corrects a typo in include/linux/pnp.h (A ')' instead of a '}') that avoids compiling.
Regards
Andreas
Signature · 6 lines
Andreas Tscharner [email protected] ---------------------------------------------------------------------- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook
linux/pnp.h renamed from linux/pnp.h.orig +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) { ; }