mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
sound: 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:
@@ -9,7 +9,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_I2S
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_AUDIO_CODEC
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <audio_codec.h>
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* Parts taken from coreboot
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
#include <irq.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <hda_codec.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_I2S
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright 2018 Google LLC
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <sound.h>
|
||||
#include <asm/i8254.h>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <hda_codec.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* following the changes made in max98095.c
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Copyright 2011 Maxim Integrated Products
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
* Modified for U-Boot by R. Chandrasekar (rcsekar@samsung.com)
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <div64.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
* Parts taken from coreboot
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Copyright 2011 Maxim Integrated Products
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <i2c.h>
|
||||
#include <i2s.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_I2S
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <i2c.h>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
* R. Chandrasekar <rcsekar@samsung.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
#include <log.h>
|
||||
#include <sound.h>
|
||||
#include <time.h>
|
||||
#include <asm/arch/clk.h>
|
||||
#include <asm/arch/pinmux.h>
|
||||
#include <asm/arch/i2s-regs.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_SOUND
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
* R. Chandrasekar <rcsekar@samsung.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <log.h>
|
||||
#include <sound.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
void sound_create_square_wave(uint sample_rate, unsigned short *data, int size,
|
||||
uint freq, uint channels)
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_MISC
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
#include <log.h>
|
||||
#include <misc.h>
|
||||
#include <time.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch-tegra/tegra_ahub.h>
|
||||
#include <asm/arch-tegra/tegra_i2s.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
#define LOG_CATEGORY UCLASS_I2S
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_I2S
|
||||
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <i2s.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2012 Samsung Electronics
|
||||
* R. Chandrasekar <rcsekar@samsung.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <audio_codec.h>
|
||||
#include <dm.h>
|
||||
#include <div64.h>
|
||||
|
||||
Reference in New Issue
Block a user