irq_to_gpio definition in <asm/gpio.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to compile sca3000 (accel driver in staging) for mini2440
board (kernel 2.6.32).
It always failed with: drivers/staging/iio/accel/sca3000_core.c:1331:
error: implicit declaration of function 'irq_to_gpio'

In drivers/staging/iio/accel/sca3000_core.c is included <linux/gpio>
and CONFIG_GENERIC_GPIO is enabled
so there should be included <asm/gpio.h>. After looking in
include/asm-arm there is no such file.

I know that platform and machines specific includes goes to arch and
plat include directories and are
included during compilation. I'm trying to add define to some of files
in include directories but result is always same ;)

Is there some point what I'm missing or how can I get rid of this error?

Thanks in advance,

Marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux