put a big fat error if no i2c-2.7.0 (this is the first

compiled file that would have an error), hopefully cut
      down on tickets when 2.7.0 comes out


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1652 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2002-11-27 19:54:53 +00:00
1 parent 808482fe72
commit 9e99f3c49d
1 file changed
+4
+4
View File
@@ -21,6 +21,10 @@
#include <linux/delay.h>
#include "version.h"
#ifndef I2C_HW_SMBUS_AMD8111
#error Your i2c is too old - i2c-2.7.0 or greater required!
#endif
MODULE_LICENSE("GPL");
MODULE_AUTHOR ("Vojtech Pavlik <vojtech@suse.cz>");
MODULE_DESCRIPTION("AMD8111 SMBus 2.0 driver");