aboutsummaryrefslogtreecommitdiff
path: root/drivers/power/pmic/pmic_tps65218.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/pmic/pmic_tps65218.c')
-rw-r--r--drivers/power/pmic/pmic_tps65218.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/pmic_tps65218.c b/drivers/power/pmic/pmic_tps65218.c
index f8bae4545c4..67174901804 100644
--- a/drivers/power/pmic/pmic_tps65218.c
+++ b/drivers/power/pmic/pmic_tps65218.c
@@ -86,7 +86,7 @@ int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
return 0;
}
#else
-struct udevice *tps65218_dev __attribute__((section(".data"))) = NULL;
+struct udevice *tps65218_dev __section(".data") = NULL;
int tps65218_reg_read(uchar dest_reg, uchar *dest_val)
{