Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1211440rwl; Thu, 10 Aug 2023 08:01:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfL3PAUpc9znKo8Vxh47RVIpomxQjxYeIII9QVYozF7FeK+ImZR2ju5djavvQJ4wTd6n3o X-Received: by 2002:a17:907:7788:b0:992:3897:1985 with SMTP id ky8-20020a170907778800b0099238971985mr2287334ejc.43.1691679671628; Thu, 10 Aug 2023 08:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691679671; cv=none; d=google.com; s=arc-20160816; b=tQgKwAFZJTcDvo/t3cFh6XcDREGDHs0faF2z5PzFtaYqgIS63RsneZW5SlO2HbukIn YvotYxGhLGJ3vkBjxxpHipGCoFjEDXEZeLOqXlCl5TS0/y6/WY/lCO/CWzAe/srgAmJa JzqJ3odCYF/LfW+kK9wUbXwv7Vx1c0fzjbIxI8WL2VjEBb4epMLoX3cjFVUihrbvLsMx R7NXc0a5cR92AaHQ5tKurQ0KQ+i+uYlqTD08Rgf+hfVAK8gr2yIKYr88oG+1/u9mO8E4 qgkDoTIbuiTkiPRX5AXSPw7EnJBBym0+vzUK7MQyo4SWNZMXF2m/keRnENJKpJK5vKGT m7OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QWrUGOV7zuT4Urr4+YPRmn/B/qpE+/KUXdJDWmtzve8=; fh=xKhpakg2rx8Z/vPi6L/LYqSZhJUFLsPkXYRX+GxqNvM=; b=PBJ4ZaldKure886+yvylhphfydc4YM3uxqzIDky5sayKf6V+CNTragkSXo6HIouS9+ RtDcdSFFKXxhSGyv7q5tFMeaxXex7ye06A359OZkQSk97WWgnm4/ZqQ0CnozNU2vN45T uNnWrENsHjJD6CHYQnvAYbhWp3FnIXZ5qMQNFlgrnKLBIWFujhWKe1Uotu5lV8wcFvyI b/Nm10mZtf8KqIAKV89x0Q3IhQut2QImx+e2dldTNhlcltJKbK0xSGipZiZbm2PxDyJ3 P0akjR3UYnRQxMoL0dWbAPvbiNMKo3nbLKCHfD0VpaGSNPOhnZX+ufqN1Sx9/xAfJIXP 81Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qfVaivzZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mh20-20020a170906eb9400b00992e21b04aasi1786011ejb.720.2023.08.10.08.00.44; Thu, 10 Aug 2023 08:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qfVaivzZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235658AbjHJOWh (ORCPT + 99 others); Thu, 10 Aug 2023 10:22:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235651AbjHJOW2 (ORCPT ); Thu, 10 Aug 2023 10:22:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36F8F2705 for ; Thu, 10 Aug 2023 07:22:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C000365D90 for ; Thu, 10 Aug 2023 14:22:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4ED0C433C7; Thu, 10 Aug 2023 14:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691677343; bh=TM24uN9AHGtsUilsrwg5FSsq+8PkBzf9zCmDCBK6pHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qfVaivzZylAfe2Vo7lZzVKCdMWMCPe819yCAzVffAZ/7NggfFtLUheeQ3XYKEINnn qfLbrpn1tWj1AdB5lKjZnVH1AwVntCsN1Qz5BYGL6p5ILiU9AYG+kAG7F4dE6UI6KV syLekCJQQdjcinNjD9lZMlMXHzPl1k8wKN65EJ77HPaH13bCZdEHWb2HG31/5C/FEc 9jozP4HX9GIOhIePoM5TxtpXZYk92vo3GAecrdkywky+EK48qGk2aWmGSCsaMNutNa /mKuEC3QiPRlxLuQP8vnDstzIBBUrv9f/HniM1dBuMA1Bqa/ArfQas1CYc0QDVvmGD vyqNA8jBkXHWA== From: Arnd Bergmann To: Andrew Morton , linux-kernel@vger.kernel.org, Geert Uytterhoeven Cc: Arnd Bergmann , linux-m68k@lists.linux-m68k.org Subject: [PATCH 10/17] zorro: include zorro.h in names.c Date: Thu, 10 Aug 2023 16:19:28 +0200 Message-Id: <20230810141947.1236730-11-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810141947.1236730-1-arnd@kernel.org> References: <20230810141947.1236730-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The zorro_name_device() function is defined in drivers/zorror/names.c, but the declaration is not visible there: drivers/zorro/names.c:58:13: error: no previous prototype for 'zorro_name_device' [-Werror=missing-prototypes] 58 | void __init zorro_name_device(struct zorro_dev *dev) Include the header to avoid the warning. Signed-off-by: Arnd Bergmann --- drivers/zorro/names.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/zorro/names.c b/drivers/zorro/names.c index fa3c83dbe8431..077114ccc8407 100644 --- a/drivers/zorro/names.c +++ b/drivers/zorro/names.c @@ -15,6 +15,7 @@ #include #include +#include "zorro.h" struct zorro_prod_info { __u16 prod; -- 2.39.2