Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odroidgoA-4.4.y: build errors with gcc9 #424

Open
paralin opened this issue Dec 29, 2021 · 0 comments
Open

odroidgoA-4.4.y: build errors with gcc9 #424

paralin opened this issue Dec 29, 2021 · 0 comments

Comments

@paralin
Copy link

paralin commented Dec 29, 2021

include/linux/module.h:130:6: error: redefinition of 'init_module'                                                                                                                                
  130 |  int init_module(void) __attribute__((alias(#initfn)));                                                                                                                                   
      |      ^~~~~~~~~~~                                                                                                                                                                          
include/linux/device.h:1350:1: note: in expansion of macro 'module_init'                                                                                                                          
 1350 | module_init(__driver##_init); \                                                                                  
      | ^~~~~~~~~~~                                                                                                      
include/linux/platform_device.h:222:2: note: in expansion of macro 'module_driver'                                       
  222 |  module_driver(__platform_driver, platform_driver_register, \             
      |  ^~~~~~~~~~~~~                                                                                                   
drivers/media/platform/rockchip/cif/dev.c:871:1: note: in expansion of macro 'module_platform_driver'                                                                                             
  871 | module_platform_driver(rkcif_plat_drv);                                                                          
      | ^~~~~~~~~~~~~~~~~~~~~~                 
include/linux/module.h:130:6: note: previous definition of 'init_module' was here                                                                                                                 
  130 |  int init_module(void) __attribute__((alias(#initfn)));                  
      |      ^~~~~~~~~~~                                                                                                 
include/linux/module.h:121:33: note: in expansion of macro 'module_init'                                                                                                                          
  121 | #define late_initcall_sync(fn)  module_init(fn)                                                                  
      |                                 ^~~~~~~~~~~    
drivers/media/platform/rockchip/cif/dev.c:853:1: note: in expansion of macro 'late_initcall_sync'                                                                                                 
  853 | late_initcall_sync(rkcif_clr_unready_dev);                                                                       
      | ^~~~~~~~~~~~~~~~~~                                  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant