mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
rtc: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -4,7 +4,6 @@
|
||||
* Heiko Schocher <hs@denx.de>
|
||||
* Copyright (C) 2021 Dario Binacchi <dariobin@libero.it>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <clk.h>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
* based on ds1337.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
* DS1337 Real Time Clock (RTC).
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
* based on ds1337.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <rtc.h>
|
||||
#include <i2c.h>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
* copied from ds1337.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -3,7 +3,6 @@
|
||||
* (C) Copyright 2019, Vaisala Oyj
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
|
@@ -5,11 +5,11 @@
|
||||
* This driver emulates a real time clock based on timer ticks.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <rtc.h>
|
||||
#include <time.h>
|
||||
#include <timestamp.h>
|
||||
|
||||
/**
|
||||
|
@@ -15,7 +15,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <rtc.h>
|
||||
#include <bcd.h>
|
||||
|
@@ -13,7 +13,6 @@
|
||||
* time-keeping. It does not change the system time.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <log.h>
|
||||
|
@@ -11,7 +11,6 @@
|
||||
* ISL1208 Real Time Clock (RTC).
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
/* #define DEBUG */
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <rtc.h>
|
||||
#include <spi.h>
|
||||
#include <power/pmic.h>
|
||||
|
@@ -8,7 +8,6 @@
|
||||
* Date & Time support for the MC146818 (PIXX4) RTC
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -4,7 +4,6 @@
|
||||
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#include <command.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -8,7 +8,6 @@
|
||||
* Date & Time support for Marvell Integrated RTC
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -6,7 +6,6 @@
|
||||
* on behalf of DENX Software Engineering GmbH
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <rtc.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
|
@@ -5,7 +5,6 @@
|
||||
|
||||
/* #define DEBUG */
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
/* #define DEBUG */
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -6,7 +6,6 @@
|
||||
* reference linux-2.6.20.6/drivers/rtc/rtc-pl031.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
* It has 56 bytes of nonvolatile RAM.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_RTC
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <log.h>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
* Michael Buesch <m@bues.ch>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
|
@@ -10,7 +10,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -8,7 +8,6 @@
|
||||
* Epson RX8025 RTC driver.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
|
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <linux/bitrev.h>
|
||||
|
@@ -4,7 +4,6 @@
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <rtc.h>
|
||||
|
@@ -5,7 +5,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_RTC
|
||||
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <malloc.h>
|
||||
|
@@ -5,7 +5,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_RTC
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <rtc.h>
|
||||
#include <asm/io.h>
|
||||
|
Reference in New Issue
Block a user