All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: nick@nhthomas.freeserve.co.uk
Cc: linux-wireless@vger.kernel.org
Subject: Re: ath6kl build error.
Date: Fri, 08 Mar 2013 12:39:49 -0600	[thread overview]
Message-ID: <513A3075.5040100@lwfinger.net> (raw)
In-Reply-To: <19954030.22961362741929700.JavaMail.www@wwinf3707>

On 03/08/2013 05:25 AM, nick@nhthomas.freeserve.co.uk wrote:
>
> Hi,
>
> I'm getting a build error when building ath6kl modules.
>
> include/linux/mmc/sdio_func.h:162:12: error: expected identifier or '(' before numeric constant
>
> the line it's complaining about is like this:
>
> extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
>
>
> A bit of googling has shown that others have seen the same problem too.
> But, I've not seen a fix for it.
>
> Any ideas appreciated.

The complete gcc error output would be helpful.

What kernel are you using? A quick check of 3.9-rc1 shows that "struct 
sdio_func" is defined in include/linux/mmc/sdio_func.h, which is included from 
both drivers/net/wireless/ath/ath6kl/init.c and 
drivers/net/wireless/ath/ath6kl/sdio.c. The symbol "mmc_pm_flag_t" is defined in 
include/linux/mmc/pm.h, which is included in include/linux/mmc/sdio_func.h. It 
seems unlikely that either "extern" or "int" is undefined, thus the error is 
hard to understand.

Larry



  reply	other threads:[~2013-03-08 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 11:25 ath6kl build error nick
2013-03-08 18:39 ` Larry Finger [this message]
2013-03-09  6:21   ` Kalle Valo
2013-03-10 14:13     ` nick
     [not found] <7009019.981362755325047.JavaMail.www@wwinf3702>
2013-03-08 15:12 ` nick

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=513A3075.5040100@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nick@nhthomas.freeserve.co.uk \
    /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 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.