From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga07.intel.com ([134.134.136.100]:29925 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbeDYJOY (ORCPT ); Wed, 25 Apr 2018 05:14:24 -0400 Date: Wed, 25 Apr 2018 14:48:58 +0530 From: Vinod Koul To: Geert Uytterhoeven Cc: Simon Horman , Magnus Damm , Russell King , Catalin Marinas , Will Deacon , Dan Williams , Mauro Carvalho Chehab , Sergei Shtylyov , "David S . Miller" , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Arnd Bergmann , Kuninori Morimoto , Laurent Pinchart , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] dmaengine: shdmac: Change platform check to CONFIG_ARCH_RENESAS Message-ID: <20180425091858.GN6014@localhost> References: <1524230914-10175-1-git-send-email-geert+renesas@glider.be> <1524230914-10175-3-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524230914-10175-3-git-send-email-geert+renesas@glider.be> Sender: linux-media-owner@vger.kernel.org List-ID: On Fri, Apr 20, 2018 at 03:28:28PM +0200, Geert Uytterhoeven wrote: > Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS") > is CONFIG_ARCH_RENESAS a more appropriate platform check than the legacy > CONFIG_ARCH_SHMOBILE, hence use the former. > > Renesas SuperH SH-Mobile SoCs are still covered by the CONFIG_CPU_SH4 > check, just like before support for Renesas ARM SoCs was added. > > Instead of blindly changing all the #ifdefs, switch the main code block > in sh_dmae_probe() to IS_ENABLED(), as this allows to remove all the > remaining #ifdefs. > > This will allow to drop ARCH_SHMOBILE on ARM in the near future. Applied, thanks -- ~Vinod