aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/rt4801-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/rt4801-regulator.c')
-rw-r--r--drivers/regulator/rt4801-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rt4801-regulator.c b/drivers/regulator/rt4801-regulator.c
index 0ddc670a3888..2055a9cb13ba 100644
--- a/drivers/regulator/rt4801-regulator.c
+++ b/drivers/regulator/rt4801-regulator.c
@@ -203,7 +203,7 @@ static int rt4801_probe(struct i2c_client *i2c)
return 0;
}
-static const struct of_device_id rt4801_of_id[] = {
+static const struct of_device_id __maybe_unused rt4801_of_id[] = {
{ .compatible = "richtek,rt4801", },
{ },
};