make modules error for ar6000,at91sam9260ek_defconfig...
Werner Almesberger
werner at openmoko.org
Fri Feb 20 10:46:44 CET 2009
surendar 87 wrote:
> Finally i made that option appear in my menuconfig...
Congratulations !
> drivers/ar6000/hif/hif2.c:30:32: error: mach/gta02-pm-wlan.h: No such file
> or directory
> drivers/ar6000/hif/hif2.c:135:28: error: mach/regs-gpio.h: No such file or
> directory
You can just remove them.
> drivers/ar6000/hif/hif2.c: In function 'process_request':
> drivers/ar6000/hif/hif2.c:146: error: implicit declaration of function
> 's3c2410_gpio_getpin'
> drivers/ar6000/hif/hif2.c:146: error: 'S3C2410_GPE7' undeclared (first use
> in this function)
You can remove the two while loops. They're just testing for a
hypothetical bug in our SDIO controller. (Which, by the way, seems
to be okay, so I'll drop this debug code soon.)
> drivers/ar6000/hif/hif2.c:146: error: (Each undeclared identifier is
> reported only once
> drivers/ar6000/hif/hif2.c:146: error: for each function it appears in.)
> drivers/ar6000/hif/hif2.c: In function 'sdio_ar6000_probe':
> drivers/ar6000/hif/hif2.c:635: error: implicit declaration of function
> 'gta02_wlan_query_rfkill_lock'
> drivers/ar6000/hif/hif2.c:638: error: implicit declaration of function
> 'gta02_wlan_set_rfkill_cb'
> drivers/ar6000/hif/hif2.c:641: error: implicit declaration of function
> 'gta02_wlan_query_rfkill_unlock'
> drivers/ar6000/hif/hif2.c: In function 'sdio_ar6000_remove':
> drivers/ar6000/hif/hif2.c:654: error: implicit declaration of function
> 'gta02_wlan_clear_rfkill_cb'
This untested code should do the trick:
#define gta02_wlan_query_rfkill_lock() 0
#define gta02_wlan_query_rfkill_unlock()
#define gta02_wlan_set_rfkill_cb(cb, user)
#define gta02_wlan_clear_rfkill_cb()
If you later want to implement rfkill, you'd have to adapt the logic
in arch/arm/plat-s3c24xx/gta02_pm_wlan.c
- Werner
More information about the openmoko-kernel
mailing list