From: Marc Dietrich <marvin24@gmx.de>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
Julian Andres Klode <jak@jak-linux.org>,
devel@driverdev.osuosl.org, Leon Romanovsky <leon@leon.nu>
Subject: Re: [PATCH] fix drivers/staging/nvec linkage error when keyboard is disabled
Date: Sun, 09 Oct 2011 17:47:38 +0200 [thread overview]
Message-ID: <1534774.fR3YHUzZE9@fb07-iapwap2> (raw)
In-Reply-To: <20112.34922.209107.730268@pilspetsen.it.uu.se>
Hi Mikael,
thanks for review. The nvec driver received some overhaul in the 3.1 release cycle
and he fruids can be viewed in linux-next tree. The nvec client drivers were
converted to mfd children in the mean time. This solves the build error, but is not
very flexible. We are planing to move the mfd stuct to the board file(s) in the next
cycle.
Also the maintainers were added. If you still find problems, please send email to the
linux driver developemnt project and cc Julian and me. You may also check our
development tree at http://gitorious.org/ac100/marvin24s-tree.
Thanks
Marc
Am Samstag, 8. Oktober 2011, 19:29:14 schrieb Mikael Pettersson:
> Building linux-3.1-rc9 for the Tegra ARM SoC with CONFIG_MFD_NVEC=y
> and CONFIG_KEYBOARD_NVEC=n results in the following linkage error:
>
> drivers/built-in.o: In function `tegra_nvec_probe':
> /tmp/linux-3.1-rc9/drivers/staging/nvec/nvec.c:373: undefined reference to
> `nvec_kbd_init' make: *** [.tmp_vmlinux1] Error 1
>
> Fixed by #ifdef:ing the call to nvec_kbd_init(), similar to the
> existing #ifdef CONFIG_SERIO_NVEC_PS2 around the nvec_ps2() call.
>
> Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
> ---
>
> --- linux-3.1-rc9/drivers/staging/nvec/nvec.c.~1~ 2011-10-08 16:28:20.000000000
> +0200 +++ linux-3.1-rc9/drivers/staging/nvec/nvec.c 2011-10-08 19:09:18.000000000
> +0200 @@ -370,7 +370,9 @@ static int __devinit tegra_nvec_probe(st
> nvec_write_async(nvec, EC_ENABLE_EVENT_REPORTING,
> sizeof(EC_ENABLE_EVENT_REPORTING));
>
> +#ifdef CONFIG_KEYBOARD_NVEC
> nvec_kbd_init(nvec);
> +#endif
> #ifdef CONFIG_SERIO_NVEC_PS2
> nvec_ps2(nvec);
> #endif
> --
> To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-10-09 15:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-08 17:29 Mikael Pettersson
2011-10-09 15:47 ` Marc Dietrich [this message]
2011-10-10 17:25 ` Stephen Warren
2011-10-10 20:20 ` Julian Andres Klode
2011-10-11 8:15 ` Re: [PATCH] fix drivers/staging/nvec linkage error when keyboard isdisabled Marc Dietrich
2011-10-12 9:19 ` Julian Andres Klode
2011-10-17 22:20 ` [PATCH] fix drivers/staging/nvec linkage error when keyboard is disabled Greg KH
2011-10-17 22:20 ` Greg KH
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=1534774.fR3YHUzZE9@fb07-iapwap2 \
--to=marvin24@gmx.de \
--cc=devel@driverdev.osuosl.org \
--cc=jak@jak-linux.org \
--cc=leon@leon.nu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mikpe@it.uu.se \
/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
all inboxes | Powered by JetHome®