* [PATCH] 2.5.44: include/linux/pnp.h typo
@ 2002-10-29 10:30 Jos Hulzink
0 siblings, 0 replies; only message in thread
From: Jos Hulzink @ 2002-10-29 10:30 UTC (permalink / raw)
To: linux-kernel
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) { ; }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-29 10:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 10:30 [PATCH] 2.5.44: include/linux/pnp.h typo Jos Hulzink
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).