Drop version.h

Some distributions use their own Makefile and thus won't create version.h,
resulting in a build failure. Pass the version as define instead.
That won't help for generating the driver version with those distributions,
but at least the driver will build.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2017-10-01 19:11:33 -07:00
parent e32b31eae2
commit 5e4d82b615
3 changed files with 7 additions and 9 deletions

5
it87.c
View File

@@ -74,7 +74,10 @@
#include <linux/acpi.h>
#include <linux/io.h>
#include "compat.h"
#include "version.h"
#ifndef IT87_DRIVER_VERSION
#define IT87_DRIVER_VERSION "<not provided>"
#endif
#define DRVNAME "it87"