From: Guenter Roeck Date: Mon, 6 Aug 2012 17:22:31 +0000 (-0700) Subject: Add backward compatibility support X-Git-Tag: nct6775-v0.9~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=802df23fe620a632dabf6c998bb67e9ecc6b945e;p=groeck-nct6775 Add backward compatibility support Signed-off-by: Guenter Roeck --- 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 */