mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
#define driver ID because it didn't make it in the i2c
patch for kernel 2.4.13. This lets us work with a stock
kernel 2.4.13.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1212 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
a9f7b8ba8f
commit
1c08a2e704
1 file changed
+7
-2
@@ -39,8 +39,9 @@
|
||||
#include "sensors.h"
|
||||
#include <linux/init.h>
|
||||
|
||||
#ifdef MODULE_LICENSE
|
||||
MODULE_LICENSE("GPL");
|
||||
/* temp. because wasn't in kernel 2.4.13 patch */
|
||||
#ifndef I2C_DRIVERID_FSCPOS
|
||||
#define I2C_DRIVERID_FSCPOS 1028
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \
|
||||
@@ -757,6 +758,10 @@ EXPORT_NO_SYMBOLS;
|
||||
MODULE_AUTHOR
|
||||
("Hermann Jung <hej@odn.de> based on work from Frodo Looijaard <frodol@dds.nl> and Philip Edelbrock <phil@netroedge.com>");
|
||||
MODULE_DESCRIPTION("fujitsu siemens poseidon chip driver");
|
||||
#ifdef MODULE_LICENSE
|
||||
MODULE_LICENSE("GPL");
|
||||
#endif
|
||||
|
||||
|
||||
int init_module(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user