backports: add missing linux/mm.h to airspy
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Jul 2014 20:45:04 +0000 (22:45 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Jul 2014 21:49:11 +0000 (23:49 +0200)
commite8d572ffeb32e5507d7eca983d531ac623b4c9ef
treeb77e67c2460fc2a0affa83e5e816770ef3c873f6
parentb241567475e75e320b774dde05ccc52898a09768
backports: add missing linux/mm.h to airspy

Without this patch I get the following error message when compiling
against kernel 3.2, all other kernel versions work:

3.2.60/drivers/media/usb/airspy/airspy.c: In function ‘airspy_queue_setup’:
3.2.60/drivers/media/usb/airspy/airspy.c:506:2: error: implicit declaration of function ‘PAGE_ALIGN’ [-Werror=implicit-function-declaration]
sizes[0] = PAGE_ALIGN(s->buffersize);

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/media/0004-missing-include/airspy.patch [new file with mode: 0644]