diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-05-29 05:43:15 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-06-07 08:02:24 (GMT) |
commit | 33f8100977693fa09c2a32b1ca6dbf4d6eabdd0c (patch) | |
tree | 8b28fd02dbe9c9ae460262a09b90ac3a80d4314a /drivers/net/ethernet/intel | |
parent | c1864cfb80a64933c221e33fed9611356c031944 (diff) | |
download | linux-33f8100977693fa09c2a32b1ca6dbf4d6eabdd0c.tar.xz |
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 <anilkumar@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/ethernet/intel')
0 files changed, 0 insertions, 0 deletions