From: Simon Horman Date: Mon, 20 Jun 2011 23:00:09 +0000 (+0900) Subject: mmc: tmio: Share register access functions X-Git-Tag: v3.1-rc1~321^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a11862d3389d4304211eed0758f510d5e573f93c;p=pandora-kernel.git mmc: tmio: Share register access functions Move register access functions into a shared header. Use sd_ctrl_write16 in tmio_mmc_dma.c:tmio_mmc_enable_dma(). Other than avoiding (trivial) open-coding, the motivation for this is to allow platform-hooks in access functions to be applied across all applicable accesses. Cc: Guennadi Liakhovetski Cc: Magnus Damm Signed-off-by: Simon Horman Signed-off-by: Chris Ball --- Reading git-diff-tree failed