[Suggestion] drivers/gpu/drm/tilcdc: link failed

Chen Gang gang.chen at asianux.com
Sat Mar 9 20:56:27 PST 2013


Hello David Airlie:

  link fail:
    drivers/gpu/drm/tilcdc/tilcdc_slave.o:(.data+0x54): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here
    drivers/gpu/drm/tilcdc/tilcdc_panel.o:(.data+0x54): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here
    drivers/gpu/drm/tilcdc/tilcdc_drv.o:(.data+0x184): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here


  make command:
    for next-20130307 tree:
      make ARCH=arm EXTRA_CFLAGS=-W allmodconfig
      make ARCH=arm EXTRA_CFLAGS=-W

  solving ways:
    please reference the mails and patch which provided by David Miller for sparc64
    I think they are the same root cause (although different issues).
      ref link: http://permalink.gmane.org/gmane.linux.ports.sparc/17155
      ref commit: 226f7cea949303a3e1911999a9a2c71b0a708e73


  thanks.


More information about the dri-devel mailing list