From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753998AbbJUJaK (ORCPT ); Wed, 21 Oct 2015 05:30:10 -0400 Received: from mga01.intel.com ([192.55.52.88]:32438 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751706AbbJUJaH (ORCPT ); Wed, 21 Oct 2015 05:30:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,711,1437462000"; d="scan'208";a="831579060" Message-ID: <1445419649.22669.32.camel@linux.intel.com> Subject: Re: [PATCH] i2c: designware: fix platform driver probe rename From: Andy Shevchenko To: Arnd Bergmann , Wolfram Sang Cc: Jarkko Nikula , Mika Westerberg , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Wed, 21 Oct 2015 12:27:29 +0300 In-Reply-To: <4006973.dp9o3gm8C4@wuerfel> References: <4006973.dp9o3gm8C4@wuerfel> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.0-2+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-10-21 at 11:16 +0200, Arnd Bergmann wrote: > A function rename was incomplete and missed the !CONFIG_PM > case: > > i2c-designware-platdrv.c:340:13: error: 'dw_i2c_plat_prepare' > undeclared here (not in a function) > i2c-designware-platdrv.c:341:14: error: 'dw_i2c_plat_complete' > undeclared here (not in a function) > > This renames the macros accordingly. Jarkko sent this already couple hours ago. > > Signed-off-by: Arnd Bergmann > Fixes: 6ad6fde3970c ("i2c: designware: Rename platform driver probe > and PM functions") > --- > Found on ARM randconfig builds > > diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c > b/drivers/i2c/busses/i2c-designware-platdrv.c > index f6b252a8ffd1..eb55760ccd9f 100644 > --- a/drivers/i2c/busses/i2c-designware-platdrv.c > +++ b/drivers/i2c/busses/i2c-designware-platdrv.c > @@ -307,8 +307,8 @@ static void dw_i2c_plat_complete(struct device > *dev) >   pm_request_resume(dev); >  } >  #else > -#define dw_i2c_prepare NULL > -#define dw_i2c_complete NULL > +#define dw_i2c_plat_prepare NULL > +#define dw_i2c_plat_complete NULL >  #endif >   >  #ifdef CONFIG_PM > -- Andy Shevchenko Intel Finland Oy