[2.6.25 patch] sound/oss/ac97_codec.c: restore MODULE_LICENSE

From: Adrian Bunk
Date: Sun Mar 30 2008 - 12:54:34 EST


On Wed, Mar 26, 2008 at 09:51:34PM +0100, devzero@xxxxxx wrote:
> > Can you post the full kernel log up to this BUG?
> > It should show that causes the Taint.
>
> oh - yes:
>
> Mar 23 09:12:20 opensuse103 kernel: ac97_codec: module license 'unspecified' taints kernel.
>
> modinfo ac97_codec
> filename: /lib/modules/2.6.25-rc6-git7-default/kernel/sound/oss/ac97_codec.ko
> srcversion: 8665939D5E471F7E331BB3E
> depends:
> vermagic: 2.6.25-rc6-git7-default SMP mod_unload 586
>
>
> seems MODULE_LICENSE is missing in ./sound/oss/ac97_codec.c !?
>...

My fault, fix below.

> regards
> roland

cu
Adrian


<-- snip -->


I accidentally removed the MODULE_LICENSE("GPL") from sound/oss/ac97_codec.c

Spotted by Roland <devzero@xxxxxx>.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
c4f4fee537525836680163622dc15b045f551d40 diff --git a/sound/oss/ac97_codec.c b/sound/oss/ac97_codec.c
index 87a6726..b63839e 100644
--- a/sound/oss/ac97_codec.c
+++ b/sound/oss/ac97_codec.c
@@ -1202,3 +1202,5 @@ static int pt101_init(struct ac97_codec * codec)

EXPORT_SYMBOL(ac97_probe_codec);

+MODULE_LICENSE("GPL");
+

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/