clocksource: sh_mtu2: Split channel fields from sh_mtu2_priv
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Mar 2014 11:58:30 +0000 (12:58 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Apr 2014 10:03:26 +0000 (12:03 +0200)
commit42752cc619c0ee619b56f86932ce42b00adb5052
tree3ccd31ad5a56ffb12ae344725ff0c75838ced50e
parentf92d62f53973466cccb25900c2597ff6df950d74
clocksource: sh_mtu2: Split channel fields from sh_mtu2_priv

Create a new sh_mtu2_channel structure to hold the channel-specific
fields in preparation for multiple channels per device support.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Wolfram Sang <wsa@sang-engineering.com>
drivers/clocksource/sh_mtu2.c