]> git.sur5r.net Git - u-boot/blobdiff - drivers/rtc/i2c_rtc_emul.c
clk: Add Actions Semi OWL clock support
[u-boot] / drivers / rtc / i2c_rtc_emul.c
index 20827fdff135b8a6e60bc570b8a50f531a69364e..bad61c377f31097da8f32f01dabe701a9728f460 100644 (file)
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Simulate an I2C real time clock
  *
  * Copyright (c) 2015 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -16,7 +15,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <fdtdec.h>
 #include <i2c.h>
 #include <os.h>
 #include <rtc.h>
@@ -29,8 +27,6 @@
 #define debug_buffer(x, ...)
 #endif
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /**
  * struct sandbox_i2c_rtc_plat_data - platform data for the RTC
  *