Commit 0f7e1774 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: rl6347a: Clean up unneeded inclusion of header files

Also move the include of sound/hda_verbs.h to rl6347a.h because it is used
in rl6347a.h.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6ff33f39
...@@ -11,25 +11,8 @@ ...@@ -11,25 +11,8 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/platform_device.h> #include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/dmi.h>
#include <linux/acpi.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <sound/jack.h>
#include <linux/workqueue.h>
#include <sound/hda_verbs.h>
#include "rl6347a.h" #include "rl6347a.h"
......
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#ifndef __RL6347A_H__ #ifndef __RL6347A_H__
#define __RL6347A_H__ #define __RL6347A_H__
#include <sound/hda_verbs.h>
#define VERB_CMD(V, N, D) ((N << 20) | (V << 8) | D) #define VERB_CMD(V, N, D) ((N << 20) | (V << 8) | D)
#define RL6347A_VENDOR_REGISTERS 0x20 #define RL6347A_VENDOR_REGISTERS 0x20
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <sound/jack.h> #include <sound/jack.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <sound/rt286.h> #include <sound/rt286.h>
#include <sound/hda_verbs.h>
#include "rl6347a.h" #include "rl6347a.h"
#include "rt286.h" #include "rt286.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <sound/jack.h> #include <sound/jack.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <sound/rt298.h> #include <sound/rt298.h>
#include <sound/hda_verbs.h>
#include "rl6347a.h" #include "rl6347a.h"
#include "rt298.h" #include "rt298.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment