From: Dan Williams Date: Mon, 12 Jan 2009 22:18:34 +0000 (-0700) Subject: fsldma: use a valid 'device' for dma_pool_create X-Git-Tag: v2.6.29-rc3~34^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6527de6d6d25ebfae7c7572cb7a4ed768e2e20a5;p=pandora-kernel.git 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 Cc: Zhang Wei Reported-by: Ira Snyder Tested-by: Ira Snyder Signed-off-by: Dan Williams --- Reading git-diff-tree failed