From: Guennadi Liakhovetski Date: Thu, 5 Jun 2008 09:45:02 +0000 (+0100) Subject: [ARM] 5078/1: pxa-pwm: Add missing MODULE_LICENSE to be able to build the driver X-Git-Tag: v2.6.27-rc1~1095^2^2~7^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b5f0228afa7810f3cad1f2f741cc747a2378b890;p=linux-2.6-omap-h63xx.git [ARM] 5078/1: pxa-pwm: Add missing MODULE_LICENSE to be able to build the driver as a module Without a GPL-compatible license this driver cannot be built as a module, because the platform_driver_* API is only exported to GPL modules. Signed-off-by: Guennadi Liakhovetski Acked-by: Eric Miao Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/pwm.c b/arch/arm/mach-pxa/pwm.c index fa9323ee854..92fef391d99 100644 --- a/arch/arm/mach-pxa/pwm.c +++ b/arch/arm/mach-pxa/pwm.c @@ -297,3 +297,5 @@ static void __exit pwm_exit(void) platform_driver_unregister(&pxa27x_pwm_driver); } module_exit(pwm_exit); + +MODULE_LICENSE("GPL v2");