projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
colibri_imx6: fix video stdout in default environment
[oweals/u-boot.git]
/
drivers
/
dma
/
sandbox-dma-test.c
diff --git
a/drivers/dma/sandbox-dma-test.c
b/drivers/dma/sandbox-dma-test.c
index 8fcef1863e242f45962526364045b59973db9019..838596b24b671e870ed38d11cd2a64c6733e79f3 100644
(file)
--- a/
drivers/dma/sandbox-dma-test.c
+++ b/
drivers/dma/sandbox-dma-test.c
@@
-9,6
+9,8
@@
#include <common.h>
#include <dm.h>
#include <common.h>
#include <dm.h>
+#include <log.h>
+#include <malloc.h>
#include <dm/read.h>
#include <dma-uclass.h>
#include <dt-structs.h>
#include <dm/read.h>
#include <dma-uclass.h>
#include <dt-structs.h>
@@
-88,7
+90,7
@@
static int sandbox_dma_request(struct dma *dma)
return 0;
}
return 0;
}
-static int sandbox_dma_free(struct dma *dma)
+static int sandbox_dma_
r
free(struct dma *dma)
{
struct sandbox_dma_dev *ud = dev_get_priv(dma->dev);
struct sandbox_dma_chan *uc;
{
struct sandbox_dma_dev *ud = dev_get_priv(dma->dev);
struct sandbox_dma_chan *uc;
@@
-229,7
+231,7
@@
static const struct dma_ops sandbox_dma_ops = {
.transfer = sandbox_dma_transfer,
.of_xlate = sandbox_dma_of_xlate,
.request = sandbox_dma_request,
.transfer = sandbox_dma_transfer,
.of_xlate = sandbox_dma_of_xlate,
.request = sandbox_dma_request,
- .
free = sandbox_dma_
free,
+ .
rfree = sandbox_dma_r
free,
.enable = sandbox_dma_enable,
.disable = sandbox_dma_disable,
.send = sandbox_dma_send,
.enable = sandbox_dma_enable,
.disable = sandbox_dma_disable,
.send = sandbox_dma_send,