Kernel 3.4 to 3.10 porting guide

From eLinux.org
Revision as of 14:04, 10 July 2013 by Tim Bird (talk | contribs) (add note about missing sysdev class)
Jump to: navigation, search

Here are some issues you may run into when porting something from 3.4 to 3.10:

  • __devexit is no longer used (or defined)
    • background: __devexit was an attribute used on certain driver routines. It was removed between 3.4 and 3.10, and should no longer be used
    • just remove the attribute from any functions it is used with
  • sysdev.h is gone, along with all it declared:
    • struct sys_device, struct sysdev_attribute