Commit dfb93a70 authored by Federico Vaga's avatar Federico Vaga

fmc: take ipmi always from linux/ipmi-fru.h

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent d9c1e59d
......@@ -6,13 +6,7 @@
* Author: Federico Vaga <federico.vaga@vaga.pv.it>
*/
#include <linux/version.h>
#if KERNEL_VERSION(3, 11, 0) <= LINUX_VERSION_CODE
#include <linux/ipmi-fru.h>
#else
#include "ipmi-fru.h"
#endif
#if KERNEL_VERSION(3, 11, 0) > LINUX_VERSION_CODE
#define __ATTR_RW(_name) __ATTR(_name, (S_IWUSR | S_IRUGO), \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment