From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752510AbdARQyf (ORCPT ); Wed, 18 Jan 2017 11:54:35 -0500 Received: from mga02.intel.com ([134.134.136.20]:19550 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457AbdARQyc (ORCPT ); Wed, 18 Jan 2017 11:54:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,249,1477983600"; d="scan'208";a="1095778450" Message-ID: <1484758117.2133.213.camel@linux.intel.com> Subject: Re: [PATCH v2 1/1] x86/rtc: Allocate interrupt for platform device From: Andy Shevchenko To: Thomas Gleixner Cc: "Luis R. Rodriguez" , Ingo Molnar , "H . Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org Date: Wed, 18 Jan 2017 18:48:37 +0200 In-Reply-To: <1484756950.2133.211.camel@linux.intel.com> References: <20170116172345.3823-1-andriy.shevchenko@linux.intel.com> <20170116190437.GB13946@wotan.suse.de> <1484594499.2133.159.camel@linux.intel.com> <1484660404.2133.170.camel@linux.intel.com> <1484756950.2133.211.camel@linux.intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Intel Finland Oy