lkml.org 
[lkml]   [2006]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mtd, nettel: fix build error and implicit declaration
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-12 11:31    [W:0.032 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site