All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [media] hackrf: add missing include of linux/mm.h
@ 2015-06-06 20:09 Hauke Mehrtens
  0 siblings, 0 replies; only message in thread
From: Hauke Mehrtens @ 2015-06-06 20:09 UTC (permalink / raw
  To: crope; +Cc: linux-media, Hauke Mehrtens

hackrf uses PAGE_ALIGN() which is defined in linux/mm.h, but this file
is not directly included just indirectly thought some other include
file.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 drivers/media/usb/hackrf/hackrf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c
index fd1fa41..2eade31 100644
--- a/drivers/media/usb/hackrf/hackrf.c
+++ b/drivers/media/usb/hackrf/hackrf.c
@@ -15,6 +15,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/usb.h>
 #include <media/v4l2-device.h>
-- 
2.1.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-06 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-06 20:09 [PATCH] [media] hackrf: add missing include of linux/mm.h Hauke Mehrtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.