public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Jesper Juhl <jesper.juhl@gmail.com>
Cc: linux-kernel@vger.kernel.org, Greg Ungerer <gerg@snapgear.com>,
	dwmw2@infradead.org
Subject: Re: [PATCH] mtd, nettel: fix build error and implicit declaration
Date: Wed, 12 Apr 2006 11:29:06 +0200	[thread overview]
Message-ID: <20060412092906.GA6243@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <200604112041.49689.jesper.juhl@gmail.com>

On Tue, 11 April 2006 20:41:49 +0200, Jesper Juhl wrote:
> 
> I just hit the following error and warning : 
>   drivers/mtd/maps/nettel.c: In function `nettel_init':
>   drivers/mtd/maps/nettel.c:418: error: `ROOT_DEV' undeclared (first use in this function)
>   drivers/mtd/maps/nettel.c:418: error: (Each undeclared identifier is reported only once
>   drivers/mtd/maps/nettel.c:418: error: for each function it appears in.)
>   drivers/mtd/maps/nettel.c:418: warning: implicit declaration of function `MKDEV'
>   make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
>   make[2]: *** [drivers/mtd/maps] Error 2
>   make[1]: *** [drivers/mtd] Error 2
> The patch fixes the missing ROOT_DEV declaration by including linux/root_dev.h
> and fixes the implicit declaration of MKDEV by including linux/kdev_t.h .

I guess you could just send this to Andrew.

> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Joern Engel <joern@wh.fh-wedel.de>

Jörn

-- 
To my face you have the audacity to advise me to become a thief - the worst
kind of thief that is conceivable, a thief of spiritual things, a thief of
ideas! It is insufferable, intolerable!
-- M. Binet in Scarabouche

      reply	other threads:[~2006-04-12  9:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 18:41 [PATCH] mtd, nettel: fix build error and implicit declaration Jesper Juhl
2006-04-12  9:29 ` Jörn Engel [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=20060412092906.GA6243@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=dwmw2@infradead.org \
    --cc=gerg@snapgear.com \
    --cc=jesper.juhl@gmail.com \
    --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