From 802df23fe620a632dabf6c998bb67e9ecc6b945e Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Mon, 6 Aug 2012 10:22:31 -0700 Subject: [PATCH] Add backward compatibility support Signed-off-by: Guenter Roeck --- compat.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 compat.h diff --git a/compat.h b/compat.h new file mode 100644 index 0000000..d512397 --- /dev/null +++ b/compat.h @@ -0,0 +1,24 @@ +/*--------------------------------------------------------------------------- + * + * compat.h + * Copyright (c) 2012 Guenter Roeck + * + *--------------------------------------------------------------------------- + */ + +#ifndef COMPAT_H +#define COMPAT_H + +#ifndef kstrtol +#define kstrtol strict_strtol +#endif +#ifndef kstrtoul +#define kstrtoul strict_strtoul +#endif + +#ifndef request_muxed_region +#define request_muxed_region(a, b, c) (true) +#define release_region(a, b) +#endif + +#endif /* COMPAT_H */ -- 2.39.2