git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OMAPFB: use dma_alloc_attrs to allocate memory
[pandora-kernel.git]
/
drivers
/
video
/
omap2
/
omapfb
/
omapfb.h
diff --git
a/drivers/video/omap2/omapfb/omapfb.h
b/drivers/video/omap2/omapfb/omapfb.h
index
fdf0ede
..
259bf05
100644
(file)
--- a/
drivers/video/omap2/omapfb/omapfb.h
+++ b/
drivers/video/omap2/omapfb/omapfb.h
@@
-28,6
+28,8
@@
#endif
#include <linux/rwsem.h>
#endif
#include <linux/rwsem.h>
+#include <linux/dma-attrs.h>
+#include <linux/dma-mapping.h>
#include <video/omapdss.h>
#include <video/omapdss.h>
@@
-49,6
+51,9
@@
extern unsigned int omapfb_debug;
struct omapfb2_mem_region {
int id;
struct omapfb2_mem_region {
int id;
+ struct dma_attrs attrs;
+ void *token;
+ dma_addr_t dma_handle;
u32 paddr;
void __iomem *vaddr;
struct vrfb vrfb;
u32 paddr;
void __iomem *vaddr;
struct vrfb vrfb;