mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* include/linux/pnp.h:248: parse error before ')' token
@ 2002-10-20 21:14 Martin Dahl
  2002-10-20 21:19 ` Martin Dahl
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Dahl @ 2002-10-20 21:14 UTC (permalink / raw)
  To: linux-kernel

Got this when compiling parport_pc.c, looks like a typo in pnp.h

--- include/linux/pnp.h.orig    2002-10-20 22:08:38.000000000 +0100
+++ include/linux/pnp.h 2002-10-20 22:08:49.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) { ; }

-- 
Martin Dahl
dahlm@izno.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: include/linux/pnp.h:248: parse error before ')' token
  2002-10-20 21:14 include/linux/pnp.h:248: parse error before ')' token Martin Dahl
@ 2002-10-20 21:19 ` Martin Dahl
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Dahl @ 2002-10-20 21:19 UTC (permalink / raw)
  To: linux-kernel

Doh, forgot to say, this is with 2.5.44

> Got this when compiling parport_pc.c, looks like a typo in pnp.h
> 
> --- include/linux/pnp.h.orig    2002-10-20 22:08:38.000000000 +0100
> +++ include/linux/pnp.h 2002-10-20 22:08:49.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) { ; }

-- 
Martin Dahl
dahlm@izno.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-20 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-20 21:14 include/linux/pnp.h:248: parse error before ')' token Martin Dahl
2002-10-20 21:19 ` Martin Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome