Message ID | 1405084028-1209898-1-git-send-email-arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Jul 11, 2014 at 03:07:08PM +0200, Arnd Bergmann wrote: > The newly added rockchip_i2s driver is lacking an include of > linux/module.h, causing a build error in some cases: A fix for this has already been applied.
On 2014?07?11? 21:48, Mark Brown wrote: > On Fri, Jul 11, 2014 at 03:07:08PM +0200, Arnd Bergmann wrote: >> The newly added rockchip_i2s driver is lacking an include of >> linux/module.h, causing a build error in some cases: > > A fix for this has already been applied. > Thank you very much :), it's great help for a begainner.
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index af1d8eb94f04..c3e53feba5b9 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c @@ -13,6 +13,7 @@ #include <linux/delay.h> #include <linux/of_gpio.h> #include <linux/clk.h> +#include <linux/module.h> #include <linux/pm_runtime.h> #include <linux/regmap.h> #include <sound/pcm_params.h>
The newly added rockchip_i2s driver is lacking an include of linux/module.h, causing a build error in some cases: ../sound/soc/rockchip/rockchip_i2s.c:526:20: error: expected declaration specifiers or '...' before string constant MODULE_DESCRIPTION("ROCKCHIP IIS ASoC Interface"); Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Jianqun Xu <xjq@rock-chips.com> --- sound/soc/rockchip/rockchip_i2s.c | 1 + 1 file changed, 1 insertion(+)