Received: by 10.223.176.46 with SMTP id f43csp2849827wra; Mon, 22 Jan 2018 04:32:54 -0800 (PST) X-Google-Smtp-Source: AH8x227Jj8RSSGOaK1lgtdBurmYLL/s+lF7zpIB+glVCJAtXRQwZwDhssEgFl4QoYHl/FQ9NG7zY X-Received: by 10.99.174.69 with SMTP id e5mr7247821pgp.263.1516624374068; Mon, 22 Jan 2018 04:32:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516624374; cv=none; d=google.com; s=arc-20160816; b=vqHhbOvNmik5iYpLRH15P35coxtzdX/5WwT5B3TdayOnIqNq+C8D/T8FNOoHpdtClJ VbGDlzIoE7CVjzv3u4eHzJjcV7leES+nzEjB5mkXOViqB6y2/g/qZZYf/gl/qA+UBebP RzFZaRVmtL41Tz9SjA0V3dDl809Sn00Kw6mn8db29D+jiP7VsBxQSgIJ+AVwR6m3RdGR B8iwpcQHhj5+slDWwD4EMPrGQ9TJL3MNTfQi1k/9viLIElXh91Bpda80k8OYiLv5EqXL /xWOjaZUytkb4nXD7AN6ezKaUtdR3DpRc9XsSCJdzE3WB0wukRlmKaF53ruusTRDbE4q wQRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=LT72oRtjWwdn1XlcvXInqJwuKTIWfzuYsgae20bfwB8=; b=Xu2PvInvjpjf0Bze23004ANHeBxrLQsd7SeZshVISFTy9E6vVV4JGf8Q442y/CDHQ3 sYMeY+da63l/Xm6u7IFTaakF7fuXg1quu9FuIyA3/2syf9rNVkel6nGnIfC2k7D2mvAj G99zgDQbm5NT/vHI2dJp38EsyzrUc5nCWEmu7jYlP6cWJVNGOejG2Jz5+btYjtknQvu0 Sz6IgJxWdUdghBCQn8GivkG08DgDw55Q6G/7+AeJM/dDGjRLxrl89Mqag8+12djSTyW9 ZtLPC0kBq+ccPdmSdfcofN4rE4wl4Vi1hjjWkT3cBhR841f2pAyt5Uh0QTFVsF+VocH6 X68g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GEic2QSm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f129si13603541pgc.402.2018.01.22.04.32.39; Mon, 22 Jan 2018 04:32:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GEic2QSm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751210AbeAVMcF (ORCPT + 99 others); Mon, 22 Jan 2018 07:32:05 -0500 Received: from mail-it0-f48.google.com ([209.85.214.48]:37411 "EHLO mail-it0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbeAVMcD (ORCPT ); Mon, 22 Jan 2018 07:32:03 -0500 Received: by mail-it0-f48.google.com with SMTP id q8so9545314itb.2 for ; Mon, 22 Jan 2018 04:32:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LT72oRtjWwdn1XlcvXInqJwuKTIWfzuYsgae20bfwB8=; b=GEic2QSmyMte7cHKH2JOD+1kSapzw6hk+KJGWUiTiL1A7TcNJaUzaqNjiaZRRmO83H epXN6gIjjmgkxDLYizwC0jSWO2W8AZemJSM5LyZbB+c27kzd/JCJcuPu11knVaCA4AJ5 0w05Yjw2t1IT63ltE4ulI3zuZnMshRKrjtlJA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LT72oRtjWwdn1XlcvXInqJwuKTIWfzuYsgae20bfwB8=; b=ICB9fmTgqNZSq79JmRghG01K97T9wOQQHYyHfFLhZeUzlDMpBnqXaqHLregDHAbEsn w0tlXl/GNYIse65jwfSEtenm7nzBwzCtBpT6u0o9Fb79VOxTaMfTDARYScc+GgquSCW4 ff0r6eZy0x8am/dH9K1VWYgVc10FRFp8YIyuGJNo4EFt903q763o+gzHT5nsTXQqcIjP qys6UkE487dYxQW5TZm/B1rP2B36zQYff8PF68vHYX2PqObmoVxRwHCpxjMo1h/4J1/9 rnuEL6VEOWSZCS7KQEOvyjvtzyIiepWOAkPdYF+naulkFrwUkSdOJxQvlWmvhGb3dsBv FOgg== X-Gm-Message-State: AKwxytdAbOfVkE8a05yPD/wgSooNtPUXCfUpRgFyUla0AlEW+//HnzZ0 0RyKo07qtic0fsK17t2W0iCJK0+X1qbqBiaHgtcxBg== X-Received: by 10.36.93.20 with SMTP id w20mr7983854ita.101.1516624323236; Mon, 22 Jan 2018 04:32:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.102.131 with HTTP; Mon, 22 Jan 2018 04:32:02 -0800 (PST) In-Reply-To: <20180122115054.GA14714@lenoch> References: <20180121211508.GB15151@lenoch> <201801221715.OdDnS1NF%fengguang.wu@intel.com> <20180122115054.GA14714@lenoch> From: Linus Walleij Date: Mon, 22 Jan 2018 13:32:02 +0100 Message-ID: Subject: Re: [PATCH 1/5] devres: Move managed io function declarations into device.h To: Ladislav Michl Cc: kbuild-all@01.org, Bjorn Helgaas , Wei Yongjun , "linux-kernel@vger.kernel.org" , linux-pci , Dmitry Torokhov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 22, 2018 at 12:50 PM, Ladislav Michl wrote: > Linus, > > after moving managed io function declarations into device.h, above error > was triggered. Please consider folowing patch: > >>8-------------- > > From: Ladislav Michl > Subject: [PATCH] include/pinctrl: Forward declare struct device > > pinctrl/devinfo.h is using forward declaration from pinctrl/consumer.h > for configurations with CONFIG_PINCTRL defined, however nothing declares > it in the opposite case. Fix this by adding a forward declaration. > > Signed-off-by: Ladislav Michl Ah good catch. Patch applied. Yours, Linus Walleij