mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
greybus: don't key on an enumerated constant
The symbol PWMF_ENABLED is defined via an enum, which is not defined at the time the preprocessor passes through "kernel_ver.h". So we can't use it in an #if statement expression. Use the Linux kernel version instead. Change-Id: Id427224b1dfecfd886fcdae89c4bcf711b616439 Signed-off-by: Alex Elder <elder@linaro.org>
This commit is contained in:
parent
8fb76c3cfd
commit
365d79fc20
1 changed files with 7 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue