Hi All,

        I am newer of Android and Linux. Now I am doing a task which 
request to access GPIO in hwc.c or Surfaceflinger.cpp.

        (I am using a panda board, and have light up it, now I want to 
modify something).

        But when I include the GPIO.h in hwc.c(hardware/ti/omap/), compile 
error happen.

        Anybody can give me some clue.

        There is a gpio.h file in the kernel directory 
/include/linux/gpio.h. 
        There is also a gpio-omap.c in kernel directory /driver/gpio/

         My question is how to use it.

         Should I change the kernel config (enable general GPIO) using 
menuconfig, then rebuild it?

         
Vincent






-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to