From: Masahiro Yamada Date: Fri, 13 Oct 2017 10:29:03 +0000 (+0900) Subject: i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass X-Git-Tag: v2017.11-rc3~45^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c4e5990ad20e9d387dd0f1e6649c7676b869bc0d;p=u-boot i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass No global pointer is used in this file. Signed-off-by: Masahiro Yamada Reviewed-by: Heiko Schocher --- diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 1397f34dda..920811a075 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -12,8 +12,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - #define I2C_MAX_OFFSET_LEN 4 /* Useful debugging function */