From: Thomas Abraham Date: Mon, 17 Sep 2012 18:16:35 +0000 (+0000) Subject: mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference X-Git-Tag: v3.7-rc1~69^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a90920c6b39a3af26470cfc26b8e5ec9c4e7f3c;p=pandora-kernel.git mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference The 'struct dw_mci' maintains a copy of the pdev->dev instance instead of maintaining a reference to that 'struct device' instance. Any resource allocated using the device resource management kernel API with the instance of 'struct device' in 'struct dw_mci' is then incorrect. Fix this by converting the copy of 'struct device' in 'struct dw_mci' to a reference. Signed-off-by: Thomas Abraham Acked-by: Will Newton Signed-off-by: Chris Ball --- Reading git-diff-tree failed