Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp47127pxb; Mon, 2 Nov 2020 13:36:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzA6k67Lkj9GAM2AhWUB6ffN06KrI8XSratCMIo5wHIbq0yQapZHFKqc2beK0R69dtpp5BZ X-Received: by 2002:a17:906:7805:: with SMTP id u5mr7940514ejm.379.1604352981553; Mon, 02 Nov 2020 13:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604352981; cv=none; d=google.com; s=arc-20160816; b=XQ6NHWVf0065ycNG/ap55viiCf/mkpStPc2OGsdHPtvthHL08j8G2yj4bqEwQAjVBH U/bganyp0QPjZB4JICeF4co6LzCTEfYCmdLT+636iFtLxYLwkl5SeV2PSSnRNq0u0OOC 1HCjtqC88jYNNNZh+H5aYPsDBvBPr6gFiWqEoAfaUidUM40OA1X1d/swbfW8h6ydbmqn jMqy0HFW6N1RkdSU8cnrovxWMWF5y8AYLh6eeR2XFPMEm0szCOJQsV7hiR03qDd8Z6My bNnI2kR2ZP8mUK0ov7Xx142M+Uocc9D0+QX5qREJtvHTFxi7hD9GvO6SwhhyS9kBDmjL TIhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=h3oMtEYvKdbDjFLUL7+0fGhfLoWgk1F2RuoMLSxSJj8=; b=SjRob9tF6qUbESS8oloOUTqLFVg+oFYGSQVSGhG8/Uku3MRLbUIaW8p3P7mf9FLE3G hwTDcvPsvjBJV0K85Y8w0tKfYk09bgApwdYfuMjYP4lrutYdtB/r7ZekDftFdPnizVqS NpPao+ZYN1CYlCNGaf4UuSWPN1FrNrTExwSuBv0k2bjvOk0qwnXZ8dE/gbkegWwQ8Ksq PivTjQz8DdrjbUy42uV4d2iMevJ42F1HbV4qLumQghGRoPsiF3j7f4ijAL/Op1jR82hO I0Zn/i18djY8rah/6wBvmZSfi0oK1E/T66KY6tdm9ZpXM75zxC/aIRJO8QbV0SNUvsK4 d0VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=n8iCUXfN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si11080335ejg.640.2020.11.02.13.35.58; Mon, 02 Nov 2020 13:36:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=n8iCUXfN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726238AbgKBVcK (ORCPT + 99 others); Mon, 2 Nov 2020 16:32:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725833AbgKBVcK (ORCPT ); Mon, 2 Nov 2020 16:32:10 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA640C0617A6; Mon, 2 Nov 2020 13:32:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=h3oMtEYvKdbDjFLUL7+0fGhfLoWgk1F2RuoMLSxSJj8=; b=n8iCUXfNz9t/awYKgJl8XKY1Rz C7+agVs/l/NJuZGTOxEu1flJFNZNFrNLGn4mvMorpeT3er/qmhizLO7OqfArlm5YqCSank7agxRlc 94/ACmeDTQDRWWiHhmambyYagPqx092ouWGPSz+8NpjAah+uw1byjU1f3o4H7jN5PkyeXmC11fOws P1AkoObQeRtwN3hI0pJSc1pqZ5pvizvIHBvzLj/5tJxGKJopPIzh+ZbsTJGOpcVUZI8SqSOymwy/9 Px3zu//bTfgHWDHBttj21iE666RW38k5khcMrc1lHZzx/Fbi53oiglAHCua4mECXxr5XuzJ+qzj0s JSb4tABg==; Received: from [2601:1c0:6280:3f0::60d5] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZhQs-0004oc-6V; Mon, 02 Nov 2020 21:32:06 +0000 Subject: Re: [PATCH] clk: imx: scu: Fix compile error with module build of clk-scu.o To: =?UTF-8?Q?Valdis_Kl=c4=93tnieks?= Cc: Dong Aisheng , Michael Turquette , Shawn Guo , Stephen Boyd , Sascha Hauer , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <208469.1604318525@turing-police> <6e5a8fdb-0a02-5eae-ca1f-37df8a454e34@infradead.org> <238534.1604350899@turing-police> From: Randy Dunlap Message-ID: <0b61c4f4-b389-c853-6e09-ee603455e583@infradead.org> Date: Mon, 2 Nov 2020 13:31:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <238534.1604350899@turing-police> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/2/20 1:01 PM, Valdis Klētnieks wrote: > On Mon, 02 Nov 2020 09:15:20 -0800, Randy Dunlap said: > >> also >> Reported-by: kernel test robot >> >> However, this driver does not directly use . > > Just my luck - I looked at 3 or 4 other things that include of_platform.h > and they all *did* include module.h. > >> platform_device.h #includes , which is where the >> problem lies: >> >> uses macros that are provided by >> so should #include . >> >> and that fixes this commit: >> >> commit 4c002c978b7f2f2306d53de051c054504af920a9 >> Author: Greg Kroah-Hartman >> Date: Mon Dec 9 20:33:03 2019 +0100 >> >> device.h: move 'struct driver' stuff out to device/driver.h > > OK.. who's going to do that? Me, or Randy, or Greg? You could go ahead... I began on it yesterday but didn't finish testing, although I did see the same build error that the 0day bot reported, so I don't know what it's going to take to fix that. -- ~Randy