FATAL: modpost: GPL-incompatible module g_drm.ko uses GPL-only symbol 'dev_driver_string'

View: New views
1 Messages — Rating Filter:   Alert me  

FATAL: modpost: GPL-incompatible module g_drm.ko uses GPL-only symbol 'dev_driver_string'

by ManojKwal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all, I have a SoC(arm926ejs) running linux kernel 2.6.18. This chip have usb device contrroler. For this controller i developed a low level driver and gadget driver. When i make this gadget driver as built in, no issue in compiling kernel. But when i make this gadget driver as mdoule and compile the kernel, uImage is build suceesfully but gadget .ko is not made. One error come "FATAL: modpost: GPL-incompatible module g_drm.ko uses GPL-only symbol 'dev_driver_string'" g_drm.c is the gadget driver file. Complete log is as following: LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready Building modules, stage 2. MODPOST FATAL: modpost: GPL-incompatible module g_drm.ko uses GPL-only symbol 'dev_driver_string' make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 can anybody help me, how to resolve this issue. Thank you in Advance, Manoj Khandelwal Software engineer
LightInTheBox - Buy quality products at wholesale price!