summaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/mcp4531.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/mcp4531.c')
-rw-r--r--drivers/iio/potentiometer/mcp4531.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c
index 0d1bcf89ae17..314353d7ab59 100644
--- a/drivers/iio/potentiometer/mcp4531.c
+++ b/drivers/iio/potentiometer/mcp4531.c
@@ -284,6 +284,7 @@ static const struct of_device_id mcp4531_of_match[] = {
MCP4531_COMPATIBLE("microchip,mcp4662-104", MCP466x_104),
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, mcp4531_of_match);
#endif
static int mcp4531_probe(struct i2c_client *client,