From: Anton Vorontsov Date: Wed, 4 Nov 2009 12:52:57 +0000 (+0000) Subject: fsl_pq_mdio: Fix compiler/sparse warnings (part 2) X-Git-Tag: v2.6.33-rc1~388^2~468 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6748f60b948230684fe3f295220e76679c5efc52;p=pandora-kernel.git fsl_pq_mdio: Fix compiler/sparse warnings (part 2) This patch fixes following warnings: fsl_pq_mdio.c:112:38: warning: cast adds address space to expression () fsl_pq_mdio.c:124:38: warning: cast adds address space to expression () fsl_pq_mdio.c:133:38: warning: cast adds address space to expression () fsl_pq_mdio.c:414:11: warning: cast adds address space to expression () Instead of adding __force all over the place, introduce convenient fsl_pq_mdio_get_regs() call that does the ugly casting just once. Signed-off-by: Anton Vorontsov Signed-off-by: David S. Miller --- Reading git-diff-tree failed