mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[ALSA] Remove sound/driver.h
This header file exists only for some hacks to adapt alsa-driver tree. It's useless for building in the kernel. Let's move a few lines in it to sound/core.h and remove it. With this patch, sound/driver.h isn't removed but has just a single compile warning to include it. This should be really killed in future. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
This commit is contained in:
parent
31e8960b35
commit
9004acc70e
347 changed files with 20 additions and 408 deletions
|
|
@ -10,8 +10,6 @@
|
|||
#define __AOA_H
|
||||
#include <asm/prom.h>
|
||||
#include <linux/module.h>
|
||||
/* So apparently there's a reason for requiring driver.h to be included first! */
|
||||
#include <sound/driver.h>
|
||||
#include <sound/core.h>
|
||||
#include <sound/asound.h>
|
||||
#include <sound/control.h>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
#include <linux/interrupt.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
#include <sound/driver.h>
|
||||
#include <sound/core.h>
|
||||
|
||||
#include <asm/macio.h>
|
||||
|
|
|
|||
|
|
@ -8,9 +8,6 @@
|
|||
|
||||
#include <asm/io.h>
|
||||
#include <linux/delay.h>
|
||||
/* So apparently there's a reason for requiring driver.h
|
||||
* to be included first, even if I don't know it... */
|
||||
#include <sound/driver.h>
|
||||
#include <sound/core.h>
|
||||
#include <asm/macio.h>
|
||||
#include <linux/pci.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue