diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-11 16:55:22 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:45 +0200 |
commit | a09a3f4cd32915a438f92be173c91bd17d88f89f (patch) | |
tree | f91f144ba0771ddf649d7fc50358c827e967b584 /backport/backport-include/linux/rfkill.h | |
parent | 7ffd70d3edcd96768ada03b9b524bff265f9b0b8 (diff) |
backports: move header files
This first step in reorganising the header files moves all the
header files into a new backport-include/ directory that gets
priority over the regular include/ where we copy the files we
want to backport from the kernel. This will help split all the
header files into logical units.
While at it, move and rename compat_2.6.h and compat_autoconf.h
to backport/backport.h and backport/autoconf.h respectively.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/rfkill.h')
-rw-r--r-- | backport/backport-include/linux/rfkill.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backport/backport-include/linux/rfkill.h b/backport/backport-include/linux/rfkill.h new file mode 100644 index 00000000..da236b26 --- /dev/null +++ b/backport/backport-include/linux/rfkill.h @@ -0,0 +1,10 @@ +#ifndef __COMPAT_RFKILL_H +#define __COMPAT_RFKILL_H + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) +#include_next <linux/rfkill.h> +#else +#include <linux/rfkill_backport.h> +#endif + +#endif |