From: AnilKumar Ch Date: Tue, 29 May 2012 05:43:15 +0000 (+0530) Subject: can: c_can: Move overlay structure to array with offset as index X-Git-Tag: v3.6-rc1~125^2~594 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f8100977693fa09c2a32b1ca6dbf4d6eabdd0c;p=pandora-kernel.git can: c_can: Move overlay structure to array with offset as index c_can uses overlay structure for accessing c_can module registers. With this kind of implementation it is difficult to add one more ip which is similar to c_can in functionality but different register offsets. This patch changes the overlay structure implementation to an array with register offset as index. This way we can overcome the above limitation. Signed-off-by: AnilKumar Ch Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed