From: Arend van Spriel Date: Thu, 8 Dec 2011 23:06:41 +0000 (-0800) Subject: bcma: add set/mask macros for 16-bit register access X-Git-Tag: v3.3-rc1~182^2~178^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d08f10d355afd500310738ff09b4d921a447102;p=pandora-kernel.git bcma: add set/mask macros for 16-bit register access The BCMA header only had definitions for 32-bit register access. Used those as a template for the 16-bit flavour. Also changed them to inline functions to be on the safe side. As offset parameter is used twice there would be a problem when used like this: bcma_set32(core, offset++, val); Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Alwin Beukers Signed-off-by: Arend van Spriel Signed-off-by: Franky Lin Signed-off-by: John W. Linville --- Reading git-diff-tree failed