summaryrefslogtreecommitdiff
path: root/drivers/dma/apple-admac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/apple-admac.c')
-rw-r--r--drivers/dma/apple-admac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/apple-admac.c b/drivers/dma/apple-admac.c
index bd49f0374291..14a5ee14a481 100644
--- a/drivers/dma/apple-admac.c
+++ b/drivers/dma/apple-admac.c
@@ -260,7 +260,7 @@ static struct dma_async_tx_descriptor *admac_prep_dma_cyclic(
if (direction != admac_chan_direction(adchan->no))
return NULL;
- adtx = kzalloc(sizeof(*adtx), GFP_NOWAIT);
+ adtx = kzalloc_obj(*adtx, GFP_NOWAIT);
if (!adtx)
return NULL;
@@ -936,6 +936,7 @@ static void admac_remove(struct platform_device *pdev)
}
static const struct of_device_id admac_of_match[] = {
+ { .compatible = "apple,t8103-admac", },
{ .compatible = "apple,admac", },
{ }
};