Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp587573iog; Mon, 13 Jun 2022 08:39:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhjtxSkiOzLmdFBGnCfOQWpd/wE6oXhyx6xWAvD5VoYsAVlYGSTXz3CV9LoFxrZ+qh+0JX X-Received: by 2002:a05:6402:240e:b0:433:4642:f86a with SMTP id t14-20020a056402240e00b004334642f86amr316839eda.313.1655134785134; Mon, 13 Jun 2022 08:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655134785; cv=none; d=google.com; s=arc-20160816; b=rj28Ml3s2xkO5COKTJf7cz5Ibd2mTzViafx/zs+ApOKRRL8uLY8m5eueY7TzwIsrUb I9PWe6rfaf36xKfXIp6BjcUOfCZe8jVWgl+ae8PKTYZCOC+4mQhh7bfuTmu3d7k56dbw MV72BtPyBywh1JAjkhh4zNAAn1tLha0Zk00J9nqJOdzTWtwzd8ePrj5ZnD1qF+m7CAaw Th+4e7+dh+uDrzi7Bu/XyKlznz1SxkX7ktXuT/k0dfUQsphqfsSyXT3r1ZKW2LjWgZjj igEmuT83pzLpPGQOozMem+WB1LNoHdd7BiXtF2qruzEIiFXpVEmxHHhYeijRqkChZczh egxQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uJxOQ4oZYRwxkINd9r5r02U8Uy7M0Ki0NPHvFvs3JOw=; b=zhgFP+IrWCPdyxwQSt7X5sBr835KOpfwfEWm3VCBser7bKGqDJGGrSFwlc6jQA1Fi6 KFz8lqClxKTHBOR2WmSgyU0vDbQxgn8i7p3/rX4yxJkHPNNS4Hu6KlgvKhZAjeG9ItF3 tzgLWUZ0f1rd2WXn0a5JoTu/Lc1/QuoY8BNe333COsQWaenmsp9Dm8L/r9WjolVQCb/m meWrn3P+VrSbXtJal1+oVBf1xeRZZvw7gF3Y4i62KcieCP4wA25LAd2I1ZODN/B08MTq AiRSJO2bxy9AcEJJwEpG3LtIQuvCbgTCZn6Y0xEmbS77BoFC3rnQFV0978V7CRxh794G YtKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kBdyl72m; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb40-20020a170907162800b00718cd33f793si1914523ejc.158.2022.06.13.08.39.20; Mon, 13 Jun 2022 08:39:45 -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=@linuxfoundation.org header.s=korg header.b=kBdyl72m; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242331AbiFMKTw (ORCPT + 99 others); Mon, 13 Jun 2022 06:19:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242979AbiFMKS6 (ORCPT ); Mon, 13 Jun 2022 06:18:58 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D243620F5F; Mon, 13 Jun 2022 03:16:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 42864CE110D; Mon, 13 Jun 2022 10:16:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3495EC34114; Mon, 13 Jun 2022 10:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115393; bh=peTvhdEzEREWGvN7fEzb5RhKDEU525Wx9WM1YuLPjVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kBdyl72mCQuRtLUSzDIgX0YsEXhzWfS5rJqww/AnUmwcR0vQMMLfjW0PNxNZdqwXJ td8hhDqpUM0raPkRi2sUFIGcxmqQPwqBuO+fob6petTY9VKK5zJYf2OGyvLSAeSo5v T7Ob1pM/GevUcV5zSMqScl/z/VNAdHNc9cGBhM38= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Christophe Leroy , Michael Ellerman , Sasha Levin Subject: [PATCH 4.9 068/167] powerpc/8xx: export cpm_setbrg for modules Date: Mon, 13 Jun 2022 12:09:02 +0200 Message-Id: <20220613094856.850318584@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094840.720778945@linuxfoundation.org> References: <20220613094840.720778945@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: Randy Dunlap [ Upstream commit 22f8e625ebabd7ed3185b82b44b4f12fc0402113 ] Fix missing export for a loadable module build: ERROR: modpost: "cpm_setbrg" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined! Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc") Signed-off-by: Randy Dunlap Reported-by: kernel test robot [chleroy: Changed Fixes: tag] Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20210122010819.30986-1-rdunlap@infradead.org Signed-off-by: Sasha Levin --- arch/powerpc/sysdev/cpm1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc/sysdev/cpm1.c index 986cd111d4df..8f2dc4ea9376 100644 --- a/arch/powerpc/sysdev/cpm1.c +++ b/arch/powerpc/sysdev/cpm1.c @@ -290,6 +290,7 @@ cpm_setbrg(uint brg, uint rate) out_be32(bp, (((BRG_UART_CLK_DIV16 / rate) - 1) << 1) | CPM_BRG_EN | CPM_BRG_DIV16); } +EXPORT_SYMBOL(cpm_setbrg); struct cpm_ioport16 { __be16 dir, par, odr_sor, dat, intr; -- 2.35.1