Re: [PATCH v2 1/1] x86/rtc: Allocate interrupt for platform device

From: Andy Shevchenko
Date: Wed Jan 18 2017 - 11:54:38 EST


On Wed, 2017-01-18 at 18:29 +0200, Andy Shevchenko wrote:
> On Wed, 2017-01-18 at 11:24 +0100, Thomas Gleixner wrote:

> Another variant is to use just a separate callback on arch_initcall().
> It would be closer to current solution.

I will go this way and just create
arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c
in a similar way how it's done for watchdog.

> If you have something better to try, please tell, I would test it.

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy