This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3359: How to use gpio library?

Part Number: AM3359


Tool/software: Linux

I make a module that using "#include <linux/gpio>" library, but it is occur unkown symbol error when i enter "insmod gpio.ko" in board. 

Unknown symbol occur when i use function such as gpio_request(),gpio_direction_input(),gpio_direction_output(),gpio_to_irq()...

I think my kernel build without gpio library. 

My kernel version is 4.4.32-gadde2ca9f8 and my board is beaglebone black.

What should i do?  Do I need to change the kernel configuration file?

Regards,

Boo