mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-23 11:54:33 +00:00
fix compile; tested ok
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1779 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
79adb8ba49
commit
2d1d0cbcb8
1 file changed
+3
-1
@@ -102,6 +102,8 @@ struct i2c_client bmc_client = {
|
||||
0
|
||||
};
|
||||
|
||||
static bmcsensors_initialized;
|
||||
|
||||
#define MAX_SDR_ENTRIES 50
|
||||
#define SDR_LIMITS 8
|
||||
#define SDR_MAX_ID_LENGTH 16
|
||||
@@ -389,7 +391,7 @@ static void bmcsensors_build_proc_table()
|
||||
bmcsensors_dir_table[sdrd_count].ctl_name = 0;
|
||||
|
||||
if ((i = i2c_register_entry(&bmc_client, "bmc",
|
||||
bmcsensors_dir_table) < 0) {
|
||||
bmcsensors_dir_table)) < 0) {
|
||||
printk(KERN_INFO "bmcsensors.o: i2c registration failed.\n");
|
||||
kfree(bmcsensors_dir_table);
|
||||
kfree(bmcsensors_proc_name_pool);
|
||||
|
||||
Reference in new issue
Block a user