summaryrefslogtreecommitdiff
path: root/drivers/peci/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/peci/sysfs.c')
-rw-r--r--drivers/peci/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/peci/sysfs.c b/drivers/peci/sysfs.c
index db9ef05776e3..c04244075794 100644
--- a/drivers/peci/sysfs.c
+++ b/drivers/peci/sysfs.c
@@ -15,7 +15,7 @@ static int rescan_controller(struct device *dev, void *data)
return peci_controller_scan_devices(to_peci_controller(dev));
}
-static ssize_t rescan_store(struct bus_type *bus, const char *buf, size_t count)
+static ssize_t rescan_store(const struct bus_type *bus, const char *buf, size_t count)
{
bool res;
int ret;