e1cf501f37be091e5122f491aef00e398bed00ae
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0374-staging-bcm2835-audio-Clean-up-include-files-in-bcm2.patch
1 From 8eb8e04a27188f6abc22d09b4a1fffbec10d45f4 Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Tue, 4 Sep 2018 17:58:32 +0200
4 Subject: [PATCH] staging: bcm2835-audio: Clean up include files in
5 bcm2835-ctl.c
6
7 commit 821950d3da4bf97bcfedcb812176a0f26b833db0 upstream.
8
9 Only a few of them are really needed.
10
11 Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 ---
15 .../vc04_services/bcm2835-audio/bcm2835-ctl.c | 15 ---------------
16 1 file changed, 15 deletions(-)
17
18 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
19 +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
20 @@ -1,23 +1,8 @@
21 // SPDX-License-Identifier: GPL-2.0
22 /* Copyright 2011 Broadcom Corporation. All rights reserved. */
23
24 -#include <linux/platform_device.h>
25 -#include <linux/init.h>
26 -#include <linux/io.h>
27 -#include <linux/jiffies.h>
28 -#include <linux/slab.h>
29 -#include <linux/time.h>
30 -#include <linux/wait.h>
31 -#include <linux/delay.h>
32 -#include <linux/moduleparam.h>
33 -#include <linux/sched.h>
34 -
35 #include <sound/core.h>
36 #include <sound/control.h>
37 -#include <sound/pcm.h>
38 -#include <sound/pcm_params.h>
39 -#include <sound/rawmidi.h>
40 -#include <sound/initval.h>
41 #include <sound/tlv.h>
42 #include <sound/asoundef.h>
43