[PATCH] 2.5.44: include/linux/pnp.h typo

From: Jos Hulzink (josh@stack.nl)
Date: Tue Oct 29 2002 - 05:30:49 EST


Hi,

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

Jos

--- include/linux/pnp-old.h 2002-10-29 11:18:10.000000000 +0100
+++ include/linux/pnp.h 2002-10-29 11:18:29.000000000 +0100
@@ -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) { ; }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:41 EST