mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
EXPORT_* fix for 2.1 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@185 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
634cb32ac0
commit
1554bc1d47
5 files changed
+9
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
Many, many things. Most notably:
|
||||
|
||||
* CHeck CDROM insert-remove error of Matt Mueller
|
||||
* Check CDROM insert-remove error of Matt Mueller
|
||||
* Create wait-queues for bus locking instead of pure semaphores, to make
|
||||
it more interactive
|
||||
* Check for block read/writes in smbus-on-i2c emulation code
|
||||
|
||||
@@ -639,8 +639,10 @@ MODULE_PARM_DESC(bit_scan, "Scan for active chips on the bus");
|
||||
MODULE_PARM_DESC(i2c_debug,"debug level - 0 off; 1 normal; 2,3 more verbose; 9 bit-protocol");
|
||||
|
||||
|
||||
#ifndef LM_SENSORS
|
||||
EXPORT_SYMBOL(i2c_bit_add_bus);
|
||||
EXPORT_SYMBOL(i2c_bit_del_bus);
|
||||
#endif
|
||||
|
||||
|
||||
int init_module(void)
|
||||
|
||||
@@ -151,7 +151,9 @@ MODULE_DESCRIPTION("I2C-Bus adapter routines for Philips parallel port adapter")
|
||||
|
||||
MODULE_PARM(base, "i");
|
||||
|
||||
#ifndef LM_SENSORS
|
||||
EXPORT_NO_SYMBOLS;
|
||||
#endif
|
||||
|
||||
int init_module(void)
|
||||
{
|
||||
|
||||
@@ -453,6 +453,7 @@ MODULE_DESCRIPTION("I2C-Bus main module");
|
||||
MODULE_PARM(i2c_debug, "i");
|
||||
MODULE_PARM_DESC(i2c_debug,"debug level");
|
||||
|
||||
#ifndef LM_SENSORS
|
||||
EXPORT_SYMBOL(i2c_add_algorithm);
|
||||
EXPORT_SYMBOL(i2c_del_algorithm);
|
||||
EXPORT_SYMBOL(i2c_add_adapter);
|
||||
@@ -466,6 +467,7 @@ EXPORT_SYMBOL(i2c_master_send);
|
||||
EXPORT_SYMBOL(i2c_master_recv);
|
||||
EXPORT_SYMBOL(i2c_control);
|
||||
EXPORT_SYMBOL(i2c_transfer);
|
||||
#endif
|
||||
|
||||
|
||||
int init_module(void)
|
||||
|
||||
@@ -337,7 +337,9 @@ struct i2c_driver driver = {
|
||||
MODULE_AUTHOR("Simon G. Vogl <simon@tk.uni-linz.ac.at>");
|
||||
MODULE_DESCRIPTION("I2C-Bus character device interface");
|
||||
|
||||
#ifndef LM_SENSORS
|
||||
EXPORT_NO_SYMBOLS;
|
||||
#endif
|
||||
|
||||
int init_module(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user