From: Marc Kleine-Budde Date: Wed, 27 Mar 2013 10:36:42 +0000 (+0100) Subject: can: sja1000: fix define conflict on SH X-Git-Tag: v3.9-rc6~38^2~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f901b6bc404b67d96eca739857c097e022727b71;p=pandora-kernel.git can: sja1000: fix define conflict on SH Thias patch fixes a define conflict between the SH architecture and the sja1000 driver: drivers/net/can/sja1000/sja1000.h:59:0: warning: "REG_SR" redefined [enabled by default] arch/sh/include/asm/ptrace_32.h:25:0: note: this is the location of the previous definition A SJA1000_ prefix is added to the offending sja1000 define only, to make a minimal patch suited for stable. A later patch will add a SJA1000_ prefix to all defines in sja1000.h. Cc: linux-stable Reported-by: Fengguang Wu Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed