Skip to contentSkip to conversation

2.5.44: include/linux/pnp.h typo

PATCH New Jos Hulzink 1 participant 1 message Oct 29, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.44: include/linux/pnp.h typo

Hi,

Please find below a very trivial patch. C compilers prefer { } above { ).

Jos

linux/pnp.h renamed from linux/pnp-old.h +0 -0
@@ -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) { ; }