sync w/ upstream, plus preliminary PECI support

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2012-10-30 14:50:41 -07:00
parent 3889978da8
commit 91230349d3
2 changed files with 228 additions and 123 deletions

View File

@@ -9,6 +9,8 @@
#ifndef COMPAT_H
#define COMPAT_H
#include <linux/version.h>
#ifndef request_muxed_region
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 28)
#define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name))