mfd: wm8994: Ensure that the whole MFD is built into a single module
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 19 Nov 2015 16:46:14 +0000 (16:46 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 24 Nov 2015 11:11:18 +0000 (11:11 +0000)
commitcc509d5ba2b74fea8d0598cc941f4b5e4052740a
treea59af5d5159b00946a71846ee0400cd0550b1b9b
parent51669f89931d7e07c297fa11028cd1e3a4cef09c
mfd: wm8994: Ensure that the whole MFD is built into a single module

The MFD part of wm8994 consists of three files wm8994-core.c,
wm8994-irq.c and wm8994-regmap.c only wm8994-core.c has a
MODULE_DESCRIPTION / LICENSE. These were clearly intended to be built
as a single module, but currently are not. This will lead to a tainted
kernel when loading modules for wm8894-irq.c and wm8994-regmap.c because
are missing a license.

This patch fixes this issue by grouping the three files together into a
single module.

Reported-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Makefile