[PATCH 0/1] ARM: OMAP: Defines back the ifdef that fix compiling error in GPIO code.

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

 



Hi Tony,

Regarging the commit 'ARM: OMAP: Get rid of unnecessary ifdefs in GPIO code' [1], already pushed to Linux-OMAP tree, it removes an ifdef that use structures defined in an ifdef.

So, it causes the following compiling error:

  CC      arch/arm/plat-omap/gpio.o
arch/arm/plat-omap/gpio.c: In function 'omap_gpio_sysinit':
arch/arm/plat-omap/gpio.c:1678: error: 'omap_gpio_sysclass' undeclared (first use in this function)
arch/arm/plat-omap/gpio.c:1678: error: (Each undeclared identifier is reported only once
arch/arm/plat-omap/gpio.c:1678: error: for each function it appears in.)
arch/arm/plat-omap/gpio.c:1680: error: 'omap_gpio_device' undeclared (first use in this function)
make[1]: *** [arch/arm/plat-omap/gpio.o] Error 1
make: *** [arch/arm/plat-omap] Error 2

So, I propose to define back the ifdef in GPIO code.

For now, this solves the compiling problem.

BR,

Carlos.

[1] http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=ee5e83a8cb1bb191d02063703f8438a7ac109d9b

-- 
Carlos Eduardo Aguiar
Nokia Institute of Technology - INdT
Open Source Mobile Research Center - OSMRC - Manaus
Core Team
Phone: +55 92 2126-1079
Mobile: +55 92 8127-1797
E-mail: carlos.aguiar@xxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux