Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2193327iof; Tue, 7 Jun 2022 22:46:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylinE9rr4wyqFOKDOUE/uI8BpgrMphqxzxPq7p/MIAg5HxRSigbDEanCLvsGfL7mRFso2k X-Received: by 2002:a63:33c5:0:b0:3fc:da19:45aa with SMTP id z188-20020a6333c5000000b003fcda1945aamr27615400pgz.522.1654667219810; Tue, 07 Jun 2022 22:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654667219; cv=none; d=google.com; s=arc-20160816; b=jc5/kmQVZVg1hrSZ/z6O3mLWyu4SUpCasIV+JAnSUY31KyD/vOczc13KClNqJg8SBR /idIaAZcn/ADzR1EFseLatcqOrdBdX5jjy/SRP3RlhbkEXTTUpQEx3xo+dkN8aWv4s2Y 9ANX4AOeVLq7Sqa+0T0Uv2I50fv6N3xC9WHz62OqfVu0nxLFdKPt9su8N4IUawOHDku+ 0CZPNAtzBXs9ZyUyxrsC1Dwa3shVu6yIhCvMkxaL82AGLqLuXpW9uYYmOR0BJqVW2zVO J3vCVqWsasVowz5S+NJKEulLTN7/GOskgwokiv2Er4lQbQoEjXFoHShqREDH2TLq+Z+h BQoA== 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=fOSmYp7o5J1Cnj/fqTaF5Qtr95BkatgOxsMY8ifaF0E=; b=zEEm+ve7oRabbSW3t8lYaUFjy0bIWC2WxYJbVZGO+s/pmKe50r6WGohxUTaEoG+JbD WsrUzZnbdXLJ4ud6NUDX5jVCAwJ6BqRpM+LOnNYYG1kmMcn2CKHKr38LhGu3N0qTN+m1 ZIcyi9qO7PR9m3b+nscKyXm/JGeFY+ceeWmR40ypLYKgQ7VPzHEucW3QQtYK++XjhnTQ OlIOHdHU89KdLa1vIJuiz5qQ00csFFhGmU9W9wJ9m7D1XY49I6enQFeCXlD/C8iNvOf2 GGQ/jfIVa5Ej0oRATfdpOi1ez6084we5s+K7YOa50teBV65KeTyzaPAs6OSdnVIhPnml 4ttQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="u32Iv/40"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g6-20020a170902934600b00158643c240asi21188694plp.87.2022.06.07.22.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:46:59 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="u32Iv/40"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 120613C9640; Tue, 7 Jun 2022 22:11:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384842AbiFHAZC (ORCPT + 99 others); Tue, 7 Jun 2022 20:25:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384241AbiFGVyX (ORCPT ); Tue, 7 Jun 2022 17:54:23 -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 B84135E753; Tue, 7 Jun 2022 12:13:14 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2864E61912; Tue, 7 Jun 2022 19:13:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E198C385A2; Tue, 7 Jun 2022 19:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629191; bh=q2WfSuGehAysC4oWHH5FcLye7l4l9jfwd2iIF05nmrM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u32Iv/40ppYd+gkCBaEWohdB/Z4HzZMPCQWxK85F3hYlGcDyCtTofmmGCIInQN+tc ROyyn64mNfGM5Cr4ALb+MuPRROwbIArp7//1QXKn7NIPCf165ydLle6jQndPDUiZiZ u/ienbUh4kxTc5OH9G3wQ2VjWIemuvNNySEUVyyA= 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 5.18 603/879] powerpc/8xx: export cpm_setbrg for modules Date: Tue, 7 Jun 2022 19:02:01 +0200 Message-Id: <20220607165020.354626616@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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/platforms/8xx/cpm1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/8xx/cpm1.c b/arch/powerpc/platforms/8xx/cpm1.c index c58b6f1c40e3..3ef5e9fd3a9b 100644 --- a/arch/powerpc/platforms/8xx/cpm1.c +++ b/arch/powerpc/platforms/8xx/cpm1.c @@ -280,6 +280,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