Commit c50dbc33 authored by Brad Heilbrun's avatar Brad Heilbrun Committed by Linus Torvalds

[PATCH] Compile error, ALSA Cirrus Logic driver

Recent header cleanup broke this driver. Needs #include <linux/init.h>
parent bbdd8222
...@@ -144,6 +144,7 @@ static int snd_legacy_find_free_dma(int *dma_table) ...@@ -144,6 +144,7 @@ static int snd_legacy_find_free_dma(int *dma_table)
#if defined(SNDRV_GET_ID) && !defined(MODULE) #if defined(SNDRV_GET_ID) && !defined(MODULE)
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/init.h>
static int __init get_id(char **str, char **dst) static int __init get_id(char **str, char **dst)
{ {
char *s, *d; char *s, *d;
......
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