mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Dahl <dahlm@izno.net>
To: linux-kernel@vger.kernel.org
Subject: Re: include/linux/pnp.h:248: parse error before ')' token
Date: Sun, 20 Oct 2002 22:19:32 +0100	[thread overview]
Message-ID: <20021020211931.GA11137@izno.net> (raw)
In-Reply-To: <20021020211420.GA10444@izno.net>

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

      reply	other threads:[~2002-10-20 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 21:14 Martin Dahl
2002-10-20 21:19 ` Martin Dahl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021020211931.GA11137@izno.net \
    --to=dahlm@izno.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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