All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] 2.5.44 Typo in include/linux/pnp.h
@ 2002-10-20 12:50 Andreas Tscharner
  0 siblings, 0 replies; only message in thread
From: Andreas Tscharner @ 2002-10-20 12:50 UTC (permalink / raw)
  To: Linux Kernel Mailinglist

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Heelo World,

The attached patch corrects a typo in include/linux/pnp.h (A ')' instead
of a '}') that avoids compiling.

Regards
	Andreas
-- 
Andreas Tscharner                                  starfire@dplanet.ch
----------------------------------------------------------------------
"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 

[-- Attachment #2: pnp_h.patch --]
[-- Type: application/octet-stream, Size: 694 bytes --]

--- include/linux/pnp.h.orig	2002-10-20 14:27:06.000000000 +0200
+++ include/linux/pnp.h	2002-10-20 14:29:24.000000000 +0200
@@ -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-20 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-20 12:50 [PATCH][TRIVIAL] 2.5.44 Typo in include/linux/pnp.h Andreas Tscharner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.