Skip to content
Snippets Groups Projects
Commit 70befd18 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

core: don't use the binary control for 2.6.34 and earlier


While the binary control file in sysfs is a neat feature, the
interface to binary attributes was different before 2.6.35. This
allows compiling with no warnings (and no crashes if the feature is
used) by just disabling the attribute at compile time.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: default avatarFederico Vaga <federico.vaga@gmail.com>
parent b428f4b8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment