projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d037739
)
device.h: dma_mem is only needed for HAVE_GENERIC_DMA_COHERENT
author
Christoph Hellwig
<hch@lst.de>
Tue, 25 Dec 2018 13:03:32 +0000
(14:03 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 13 Feb 2019 18:18:23 +0000
(19:18 +0100)
No need to carry an unused field around.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h
patch
|
blob
|
history
diff --git
a/include/linux/device.h
b/include/linux/device.h
index
6cb4640
..
be54440
100644
(file)
--- a/
include/linux/device.h
+++ b/
include/linux/device.h
@@
-1017,8
+1017,10
@@
struct device {
struct list_head dma_pools; /* dma pools (if dma'ble) */
+#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT
struct dma_coherent_mem *dma_mem; /* internal for coherent mem
override */
+#endif
#ifdef CONFIG_DMA_CMA
struct cma *cma_area; /* contiguous memory area for dma
allocations */