]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: pl031: encapsulate per-vendor ops
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 21 Jul 2012 00:55:02 +0000 (10:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:23 +0000 (13:53 +1000)
commita63311aa2a30c2b4ca05b17262c8b70ad1e6c533
treea77984975d2f808f1914c60f3170dbe3e0759c14
parentc26f55c0e02f16e8cd99a2c7d3ead5acecd0d8a4
rtc: pl031: encapsulate per-vendor ops

Move the per-vendor operations for this RTC into a encapsulating struct so
we can have more per-vendor variables than just the ops.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-pl031.c