neard: fix build with kernel headers 3.1 - 3.6
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 16 Feb 2013 07:34:27 +0000 (07:34 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 17 Feb 2013 22:10:59 +0000 (23:10 +0100)
commitdcb88a5500f7ce6fd877370b797009bb78e8f014
treef217fe0d11976ef8536c8400d81b432259bda469
parent92da10e3d87f41331d1ddd673c81d1d04d6c5833
neard: fix build with kernel headers 3.1 - 3.6

neard uses the linux/nfc.h header which is fairly recent, so we have a
patch that creates linux-nfc.h and uses it if necessary. However, since
the bump to 0.9, neard uses some symbols that are introduced in linux 3.7
so the build fails with headers 3.1 (which introduced nfc.h) to 3.6.

To resolve that, add a check for one of the newly introduced symbols
(that is used by neard).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/neard/neard-fix-missing-linux-nfc-header.patch