mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
pwm: 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:
@@ -1,6 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#include <common.h>
|
||||
#include <cros_ec.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright 2016 Google Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <pwm.h>
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
* This improvement can disable/enable through PWM_ASPEED_CTRL_DUTY_SYNC_DISABLE.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
#include <pwm.h>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
* Based on drivers/pwm/pwm-atmel.c from Linux.
|
||||
*/
|
||||
#include <clk.h>
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#define LOG_CATEGORY UCLASS_PWM
|
||||
|
||||
#include <clk.h>
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* Basic support for the pwm module on imx6.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
* current period to complete first).
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Author: Sam Shih <sam.shih@mediatek.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <pwm.h>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
* - The hardware generates only inverted output.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
* Based on Linux kernel drivers/pwm/pwm-tiehrpwm.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_PWM
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <pwm.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <pwm.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (c) 2017-2018 Vasily Khoruzhick <anarsoul@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright 2016 Google Inc.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <pwm.h>
|
||||
|
||||
Reference in New Issue
Block a user