]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/i2c-cdns.c
power: pmic: Let PFUZE3000 see all 256 registers
[u-boot] / drivers / i2c / i2c-cdns.c
index 8265ce32106bfdd0093857e0fe0066d9f92fb0c5..30be173343dd7ba03a8e7b4fe613eb0353888a60 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015 Moritz Fischer <moritz.fischer@ettus.com>
  * IP from Cadence (ID T-CS-PE-0007-100, Version R1p10f2)
  *
  * This file is based on: drivers/i2c/zynq_i2c.c,
  * with added driver-model support and code cleanup.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -19,8 +18,6 @@
 #include <mapmem.h>
 #include <wait_bit.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* i2c register set */
 struct cdns_i2c_regs {
        u32 control;