summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/cgbc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/cgbc-core.c')
-rw-r--r--drivers/mfd/cgbc-core.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/mfd/cgbc-core.c b/drivers/mfd/cgbc-core.c
index 85283c8dde25..4782ff1114a9 100644
--- a/drivers/mfd/cgbc-core.c
+++ b/drivers/mfd/cgbc-core.c
@@ -96,7 +96,7 @@ static int cgbc_session_command(struct cgbc_device_data *cgbc, u8 cmd)
static int cgbc_session_request(struct cgbc_device_data *cgbc)
{
- unsigned int ret;
+ int ret;
ret = cgbc_wait_device(cgbc);
@@ -236,6 +236,7 @@ static struct mfd_cell cgbc_devs[] = {
{ .name = "cgbc-gpio" },
{ .name = "cgbc-i2c", .id = 1 },
{ .name = "cgbc-i2c", .id = 2 },
+ { .name = "cgbc-hwmon" },
};
static int cgbc_map(struct cgbc_device_data *cgbc)
@@ -384,6 +385,13 @@ static const struct dmi_system_id cgbc_dmi_table[] __initconst = {
DMI_MATCH(DMI_BOARD_NAME, "conga-SA7"),
},
},
+ {
+ .ident = "SA8",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "congatec"),
+ DMI_MATCH(DMI_BOARD_NAME, "conga-SA8"),
+ },
+ },
{}
};
MODULE_DEVICE_TABLE(dmi, cgbc_dmi_table);