Skip to content
Commit 365d79fc authored by Alex Elder's avatar Alex Elder Committed by Akash Choudhari
Browse files

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: default avatarAlex Elder <elder@linaro.org>
parent 8fb76c3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment