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)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Apr 2014 10:03:29 +0000 (12:03 +0200)
commitd2b93177065fd8e1e18f4f42880326e0881ff457
treee854d4f160f262dfd12b8f343381e2622f5d5103
parentda90a1c67751a412499a9f5698c3bf0bf80f65a6
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>
drivers/clocksource/sh_mtu2.c