aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2009-01-12 15:18:34 -0700
committerDan Williams <[email protected]>2009-01-12 15:20:42 -0700
commit6527de6d6d25ebfae7c7572cb7a4ed768e2e20a5 (patch)
tree65d5a2abb226808f9135dda8f9affb6ae8aa4e01 /drivers/mtd/lpddr/lpddr_cmds.c
parentdd59b8537f6cb53ab863fafad86a5828f1e889a2 (diff)
fsldma: use a valid 'device' for dma_pool_create
The dmaengine sysfs implementation was fixed to support proper lifetime rules which means that the current: new_fsl_chan->dev = &new_fsl_chan->common.dev->device; ...retrieves a NULL pointer because new_fsl_chan->common.dev has not been allocated at this point. So, set new_fsl_chan->dev to a valid device. Cc: Li Yang <[email protected]> Cc: Zhang Wei <[email protected]> Reported-by: Ira Snyder <[email protected]> Tested-by: Ira Snyder <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions