Add linux/init.h compatibility header.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 11 Feb 2013 17:35:18 +0000 (17:35 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 11 Feb 2013 17:35:18 +0000 (17:35 +0000)
commitdb40f56ddd2fd1df9d15c6cd6814100b84fa1ab3
tree5c2bbf2b6e266b3fe880bb9a750a47f42812199e
parent595b57ae6c1f1ba7ffe8588ddfed62383023537f
Add linux/init.h compatibility header.

Add linux/init.h compatibility header, defining the __devinit,
__devinitdata, __devinitconst, __devexit, __devexitdata, __devexitconst
and __devexit_p(x) macros if they are not already defined.

This is needed for compatibility with Linux kernel 3.8 which removed the
macros.

We could just remove all uses of the macros from the code, but for now
do it this way.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
include/linux/Makefile.am
include/linux/init.h [new file with mode: 0644]