clocksource: sh_mtu2: Add index to struct sh_mtu2_channel
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Mar 2014 13:17:26 +0000 (14:17 +0100)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:22:53 +0000 (09:22 +0900)
commita61f28a4155dda116466f22b37537ec2d9d5bddc
tree77859fa4ad127049add5407e15b652ef9f12e528
parente3c8e5ecd764ccf668f643a3700c4667ae41740f
clocksource: sh_mtu2: Add index to struct sh_mtu2_channel

Use the index as the timer start/stop bit and when printing messages to
identify the channel.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Wolfram Sang <wsa@sang-engineering.com>
(cherry picked from commit d2b93177065fd8e1e18f4f42880326e0881ff457)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_mtu2.c