summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/superio.c')
-rw-r--r--drivers/mfd/superio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/superio.c b/drivers/mfd/superio.c
index fff26968ea..16d0bba450 100644
--- a/drivers/mfd/superio.c
+++ b/drivers/mfd/superio.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2019 Ahmad Fatoum, Pengutronix
*/
@@ -7,11 +7,11 @@
#include <common.h>
#include <superio.h>
-#include <regmap.h>
+#include <linux/regmap.h>
-struct device_d *superio_func_add(struct superio_chip *siochip, const char *name)
+struct device *superio_func_add(struct superio_chip *siochip, const char *name)
{
- struct device_d *dev;
+ struct device *dev;
int ret;
dev = device_alloc(name, DEVICE_ID_DYNAMIC);