6cc449c7d0
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 . Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org> |
||
---|---|---|
.. | ||
alchemy-flash.c | ||
amd76xrom.c | ||
arctic-mtd.c | ||
autcpu12-nvram.c | ||
bast-flash.c | ||
beech-mtd.c | ||
cdb89712.c | ||
ceiva.c | ||
cfi_flagadm.c | ||
cstm_mips_ixx.c | ||
dbox2-flash.c | ||
dc21285.c | ||
dilnetpc.c | ||
dmv182.c | ||
ebony.c | ||
edb7312.c | ||
fortunet.c | ||
h720x-flash.c | ||
ichxrom.c | ||
impa7.c | ||
integrator-flash.c | ||
ipaq-flash.c | ||
iq80310.c | ||
ixp4xx.c | ||
ixp2000.c | ||
Kconfig | ||
l440gx.c | ||
lasat.c | ||
lubbock-flash.c | ||
mainstone-flash.c | ||
Makefile | ||
map_funcs.c | ||
mbx860.c | ||
mpc1211.c | ||
mtx-1_flash.c | ||
netsc520.c | ||
nettel.c | ||
ocelot.c | ||
ocotea.c | ||
octagon-5066.c | ||
omap_nor.c | ||
omap-toto-flash.c | ||
pci.c | ||
pcmciamtd.c | ||
physmap.c | ||
plat-ram.c | ||
pnc2000.c | ||
pq2fads.c | ||
redwood.c | ||
rpxlite.c | ||
sa1100-flash.c | ||
sbc8240.c | ||
sbc_gxx.c | ||
sc520cdp.c | ||
scb2_flash.c | ||
scx200_docflash.c | ||
sharpsl-flash.c | ||
solutionengine.c | ||
sun_uflash.c | ||
tqm8xxl.c | ||
tqm834x.c | ||
ts5500_flash.c | ||
tsunami_flash.c | ||
uclinux.c | ||
vmax301.c | ||
walnut.c | ||
wr_sbc82xx_flash.c |