Skip to contentSkip to conversation

drivers/gpio/gpio-nomadik.c build error

linux-next Axel Lin 2 participants 3 messages Jun 9, 2011

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

make nhk8815_defconfig with below build error:

CC drivers/gpio/gpio-nomadik.o
drivers/gpio/gpio-nomadik.c: In function 'nmk_gpio_wakeups_suspend':
drivers/gpio/gpio-nomadik.c:904: error: implicit declaration of function 'cpu_is_u8500v2' make[2]: *** [drivers/gpio/gpio-nomadik.o] Error 1
make[1]: *** [drivers/gpio] Error 2
make: *** [drivers] Error 2

Regards,
Axel

#1 lore raw
Quoted 8 lines · Axel Lin

make nhk8815_defconfig  with below build error:

 CC      drivers/gpio/gpio-nomadik.o
drivers/gpio/gpio-nomadik.c: In function 'nmk_gpio_wakeups_suspend':
drivers/gpio/gpio-nomadik.c:904: error: implicit declaration of function 'cpu_is_u8500v2' make[2]: *** [drivers/gpio/gpio-nomadik.o] Error 1
make[1]: *** [drivers/gpio] Error 2
make: *** [drivers] Error 2

I actually had a patch pending for this, so just mailed it out.

Check subject "[PATCH] gpio/nomadik: fix sleepmode for elder Nomadik"

For some reason git send-email does not set people tagged with
Reported-by: on Cc, so I missed you when sending it out.

Grant, can you take this into urgent for Torvalds?

Thanks,
Linus Walleij

#2 lore raw
In reply to Axel Lin
Quoted 8 lines · Axel Lin

make nhk8815_defconfig  with below build error:

 CC      drivers/gpio/gpio-nomadik.o
drivers/gpio/gpio-nomadik.c: In function 'nmk_gpio_wakeups_suspend':
drivers/gpio/gpio-nomadik.c:904: error: implicit declaration of function 'cpu_is_u8500v2' make[2]: *** [drivers/gpio/gpio-nomadik.o] Error 1
make[1]: *** [drivers/gpio] Error 2
make: *** [drivers] Error 2

BTW: Grant et al, the subject says [linux-next] but the thing actually does compile
in linux-next, since my patch is in there. This error is on Torvalds v3.0-rc2.

Thanks,
Linus Walleij