From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Murzin Subject: Re: [PATCH] serial: Make SERIAL_MPS2_UART depend on ARCH_MPS2 Date: Wed, 1 Jun 2016 13:51:25 +0100 Message-ID: <574EDA4D.4050003@arm.com> References: <1462906570-27684-1-git-send-email-geert+renesas@glider.be> <573591C6.1070106@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Geert Uytterhoeven Cc: Geert Uytterhoeven , Greg Kroah-Hartman , Sudeep Holla , Andy Shevchenko , "linux-serial@vger.kernel.org" , Jiri Slaby , "linux-arm-kernel@lists.infradead.org" List-Id: linux-serial@vger.kernel.org On 13/05/16 09:57, Geert Uytterhoeven wrote: > Hi Vladimir, > > On Fri, May 13, 2016 at 10:35 AM, Vladimir Murzin > wrote: >> On 10/05/16 19:56, Geert Uytterhoeven wrote: >>> Enabling support for the UART on the ARM MPS2 platform only make sense >>> when compiling for the ARM MPS2 platform, unless compile-testing. >> >> What you said is true, but looking around (see SERIAL_STM32 for example) >> I'm wondering what makes MPS2 so special flake? > > Nothing. SERIAL_STM32 should be fixed, too. > I only fixed SERIAL_MPS2_UART, as it was a newly-introduced symbol. > >> I was under impression that architecture/board specific guard must have >> only if we have something like >> >> #include >> >> or >> >> #include >> >> which is not a case for device-tree driven MPS2 uart. >> >> I have no idea what is practice for such things, so would be grateful to >> get it known. > > That's why there's an "|| COMPILE_TEST" in the dependency. > First of all sorry for the late response... Secondly, I have no strong opinion on the patch, so I'd leave the final word to Greg FWIW Reviewed-by: Vladimir Murzin Cheers Vladimir > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > >