]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00240988: gpu: __devinit and __devexit are unavailable on 3.10 kernel
authorShawn Guo <shawn.guo@freescale.com>
Fri, 26 Jul 2013 09:36:30 +0000 (17:36 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:53:59 +0000 (09:53 +0800)
commite58826d065fca3b153adad6cc9acd7466657c798
tree2ae7072854866a96223e9aa3c453e0085a8936e5
parent8b71eceb2b84c88fc17fed8b2c11cb5aed7ac078
ENGR00240988: gpu: __devinit and __devexit are unavailable on 3.10 kernel

__devinit, __devexit and __devexit_p are unavailable on 3.10 kernel.
Remove them for 3.10 to fix the compile issues below.

  CC      drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.o
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c:1033:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gpu_probe’
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c:1116:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gpu_remove’
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c:1292:19: error: ‘gpu_probe’ undeclared here (not in a function)
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c:1293:5: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c