[PATCH] IPMI: pass sysfs name from lower level driver
[firefly-linux-kernel-4.4.55.git] / drivers / char / ipmi / ipmi_si_intf.c
index bb1fac104fda63470bae62d5c068263c00a5f8e6..89cdb928061c552ca8a9d479025e5ddf994be2ad 100644 (file)
@@ -2362,6 +2362,7 @@ static int try_smi_init(struct smi_info *new_smi)
                               new_smi,
                               &new_smi->device_id,
                               new_smi->dev,
+                              "bmc",
                               new_smi->slave_addr);
        if (rv) {
                printk(KERN_ERR