Hi,
I 'm using linux/pwm.h to access PWM from Kernel space as per my application requirement. While using pwmchip_sysfs_unexport or pwmchip_sysfs_export, I have encountered following error.
Building modules, stage 2.
MODPOST 1 modules
WARNING: "pwmchip_sysfs_unexport" [/home/Timer/timer_module.ko] undefined!
WARNING: "pwmchip_sysfs_export" [/home/Timer/timer_module.ko] undefined!
I have verified that CONFIG_PWM_SYSFS is enabled in config file. Can someone suggest me a way-out to use these functions. Any sample code to use pwm.h in kernel space will also do.
System Details
Board: - Beaglebone black (AM335x)
(uname -r): - 4.1.13-g8dc6617
ti sdk : -ti-processor-sdk-linux-am335x-evm-02.00.01.07
Thanks in advance!