From: Mike Frysinger Date: Thu, 19 May 2011 00:46:03 +0000 (-0400) Subject: Blackfin: fix addr type with bfin_write_{or,and} helpers X-Git-Tag: v3.0-rc1~154^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7a430f7498cd55820232d8e3f144161138f91a;p=pandora-kernel.git Blackfin: fix addr type with bfin_write_{or,and} helpers Since the bfin_write() func needs proper type information in order to expand into the right bfin_writeX() variant, preserve the addr's type when setting up the local __addr. Otherwise the helpers will detect the variant based upon sizeof(void) which is almost never right. Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed