From: Andrew Morton <akpm@osdl.org>
To: Fabian Fenaut <fabian.fenaut@free.fr>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Gerd Knorr <kraxel@bytesex.org>
Subject: Re: 2.6.1-mm4
Date: Fri, 16 Jan 2004 09:03:49 -0800 [thread overview]
Message-ID: <20040116090349.73b1fad4.akpm@osdl.org> (raw)
In-Reply-To: <200401161449.i0GEnoAv026627@fire-1.osdl.org>
Fabian Fenaut <fabian.fenaut@free.fr> wrote:
>
> I got an error compiling -mm4 :
>
> [...]
> CC [M] drivers/media/video/ir-kbd-gpio.o
> drivers/media/video/ir-kbd-gpio.c:185: unknown field `name' specified in
> initializer
> drivers/media/video/ir-kbd-gpio.c:185: warning: missing braces around
> initializer
> drivers/media/video/ir-kbd-gpio.c:185: warning: (near initialization for
> `driver.drv')
> drivers/media/video/ir-kbd-gpio.c:186: unknown field `drv' specified in
> initializer
> drivers/media/video/ir-kbd-gpio.c:187: unknown field `drv' specified in
> initializer
> drivers/media/video/ir-kbd-gpio.c:188: unknown field `gpio_irq'
> specified in initializer
You must be using an elderly gcc.
diff -puN drivers/media/video/ir-kbd-gpio.c~ir-kbd-gpio-build-fix drivers/media/video/ir-kbd-gpio.c
--- 25/drivers/media/video/ir-kbd-gpio.c~ir-kbd-gpio-build-fix 2004-01-16 09:01:59.000000000 -0800
+++ 25-akpm/drivers/media/video/ir-kbd-gpio.c 2004-01-16 09:02:17.000000000 -0800
@@ -182,9 +182,11 @@ static int ir_probe(struct device *dev);
static int ir_remove(struct device *dev);
static struct bttv_sub_driver driver = {
- .drv.name = DEVNAME,
- .drv.probe = ir_probe,
- .drv.remove = ir_remove,
+ .drv = {
+ .name = DEVNAME,
+ .probe = ir_probe,
+ .remove = ir_remove,
+ },
.gpio_irq = ir_irq,
};
_
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2004-01-16 17:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-16 6:59 2.6.1-mm4 Andrew Morton
2004-01-16 9:34 ` 2.6.1-mm4 Prakash K. Cheemplavam
2004-01-21 18:46 ` 2.6.1-mm4 Prakash K. Cheemplavam
2004-01-21 19:20 ` 2.6.1-mm4 Valdis.Kletnieks
2004-01-16 13:45 ` 2.6.1-mm4 Ed Tomlinson
2004-01-16 17:32 ` 2.6.1-mm4 Thomas Schlichter
2004-01-16 14:49 ` 2.6.1-mm4 Fabian Fenaut
2004-01-16 14:49 ` 2.6.1-mm4 Fabian Fenaut
[not found] ` <200401161449.i0GEnoAv026627@fire-1.osdl.org>
2004-01-16 17:03 ` Andrew Morton [this message]
2004-01-16 17:14 ` 2.6.1-mm4 (compile stats) John Cherry
2004-01-16 17:37 ` 2.6.1-mm4 Thomas Schlichter
2004-01-16 17:58 ` 2.6.1-mm4 Thomas Schlichter
2004-01-16 18:17 ` Oops in register_proc_table (2.6.1-mm4) Thomas Schlichter
2004-01-17 2:22 ` 2.6.1-mm4 Adrian Bunk
2004-01-19 11:00 ` 2.6.1-mm4 same sound oops as mm3 Helge Hafting
2004-01-19 11:46 ` 2.6.1-mm4 Luiz Fernando Capitulino
2004-01-20 0:26 ` 2.6.1-mm4 Thomas Molina
2004-01-20 0:57 ` 2.6.1-mm4 Andrew Morton
2004-01-20 2:13 ` 2.6.1-mm4 Thomas Molina
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=20040116090349.73b1fad4.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=fabian.fenaut@free.fr \
--cc=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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