Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15610267ybl; Tue, 31 Dec 2019 11:14:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwGwnuAfR6hWZQN6YHTjwEcieId+AM/fya/8x/eyO9m3hE8ZdS7GayMUu8EUwA4/rv0Bs4K X-Received: by 2002:a17:906:3516:: with SMTP id r22mr77033450eja.295.1577819686028; Tue, 31 Dec 2019 11:14:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577819686; cv=none; d=google.com; s=arc-20160816; b=BbGW51UqCNH9nHs2b1g1wvtD/IMOjI5W09BeOuhrRKSJ5/jhkmInpvlo5aMX4gAwws 0DCrdXsK4o22ArjlXE3oxngR1X8+C0wsnNP81zkCnzbjDm/a0lRa9SbU79bJUzs6q9jJ z0rI6z2ab41KRBCzFylQnql7tKBsKU+WE3TiI5C+BOOdxLwqdm5TS+2bLH6G8N29MuCJ kBAlmh/u/qhlPZPLMrZUIHYfa+MAz7Ppw6CvlMwTMf9PyO3yDLhjToKZCQFRDtCrD0+e SzGem299WWmOAh04ghuKwnJfhjMsLZnCXd9GQkqpVPYoh/BnxTDVjGgiMTcubL1JZfnp lflg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lQdJvCTpaeep71PkxgVm04JNX1seJqxMx0Ss3EM+vAI=; b=yyp3jcQbTlBgQ4uxFxcxjw12bUWRVGuialIqWSr68R50T/lV+YZZhbK9X5zRPFVRDe i9uG/X86vcv3ZET3Ad5Zz2uCSGya8UcSl+8zO2afbL1AD2p9nLMBgwQZuFsq0Y8d3D4Z Nxtdt/DMBLvRXm7ESjiH5r9VCwbB1ejJLfD1cEg0GDougpuUaegxfIdk+yCv4UU/PIhc X1JW/gBpfwen0sAyZ/1SbqQWV3fEFI+/qHbrBLCZLcSgEdmrN/YAlzhka+Lyu4a3vMvm cBZBIiD5wpOgwLe9bKOLwX3GHa4mMJKL+80Ga8zyHZy14+50E70BgGTyFX6xnpj3X4Mm qf3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FNZOGVao; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dn15si32023045edb.218.2019.12.31.11.13.57; Tue, 31 Dec 2019 11:14:46 -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=@gmail.com header.s=20161025 header.b=FNZOGVao; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727131AbfLaTLh (ORCPT + 99 others); Tue, 31 Dec 2019 14:11:37 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38067 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbfLaTLh (ORCPT ); Tue, 31 Dec 2019 14:11:37 -0500 Received: by mail-pl1-f196.google.com with SMTP id f20so16165454plj.5; Tue, 31 Dec 2019 11:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lQdJvCTpaeep71PkxgVm04JNX1seJqxMx0Ss3EM+vAI=; b=FNZOGVaojf4cMrj0OHRNBpwvRuuJT95koi0GS9h+9nqodymkEsKwVGwGQBItouFalB qThnULG4Oki7IYjXXqvbwqNicjhXKtIMOQxdagH0vyjfWdt9zgu0odnrRAjpBY08Dow+ bIh2JKtatPOnP97u9MbLbAmQx3PuR3jRsPWjjkMVowQ2vCVb5vvmVgZCqUB2t3O0y5qb c2imLoAeHwntI3v0B0uPx3Fz3coObVFC8InunSxTPnpfLteEeOhgLWZgrrTWXIOjAKRZ sTgct4cuX8J9PgQcX+SxnD5r6WBzA6J5Df2lWrellm7W3MFkyl8IwmC5YRhyCTBjA6IF V2eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lQdJvCTpaeep71PkxgVm04JNX1seJqxMx0Ss3EM+vAI=; b=pd7NPA/gsN03+RSzNZXd25rF34MQNhP6EfGRZ/AkYvzN7pi+beg4oOXhtSSHekDvOs kzx2KdcpBGU4a2AdNthnTNb/rsmynjjr00Mthn6hjdhy0jEmphMo65dnwW7tg4eXiVkt 3A6JV3/Mwi3tE3qHkQH4/35HEQNqo14j3OT1wk2TGrv0dRuZOFXwhKtCoQmmvyYuPzmb LVkNRqJb+4ezuJojLg21h+lQOmf55bJrZi5g7SADq4DvhoHJh7IyxYFoTrmPJD+QNlyl q5xP8l9Y9mwSdQlJmt3Khad4zlYOcnL8wtUNvmVuXW0mzkuds6S68WWLfGo0cZdS0R4J K/ow== X-Gm-Message-State: APjAAAVw5O83cMT8qtwg5+joB4MXvKfTFsDbbQzRJzoRgWMFN/NFPkHN e8UfrnqWLYpHaKEtvKFwdrc= X-Received: by 2002:a17:90a:3586:: with SMTP id r6mr8127193pjb.36.1577819496495; Tue, 31 Dec 2019 11:11:36 -0800 (PST) Received: from localhost.localdomain ([2804:14d:72b1:8920:a2ce:f815:f14d:bfac]) by smtp.gmail.com with ESMTPSA id s24sm4366134pjp.17.2019.12.31.11.11.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Dec 2019 11:11:36 -0800 (PST) From: "Daniel W. S. Almeida" X-Google-Original-From: Daniel W. S. Almeida To: mchehab@kernel.org, gregkh@linuxfoundation.org, rfontana@redhat.com, kstewart@linuxfoundation.org, tglx@linutronix.de Cc: "Daniel W. S. Almeida" , skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/4] media: dvb_dummy_fe: place EXPORT_SYMBOL below corresponding function Date: Tue, 31 Dec 2019 16:11:20 -0300 Message-Id: X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Daniel W. S. Almeida" dvb_dummy_fe.c had all its EXPORT_SYMBOL macros located at the end of the file. Now these are located directly below the symbol they are exporting for increased readability. Suggested-by: Shuah Khan Signed-off-by: Daniel W. S. Almeida --- drivers/media/dvb-frontends/dvb_dummy_fe.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb-frontends/dvb_dummy_fe.c b/drivers/media/dvb-frontends/dvb_dummy_fe.c index 4db679cb70ad..909dac2345c4 100644 --- a/drivers/media/dvb-frontends/dvb_dummy_fe.c +++ b/drivers/media/dvb-frontends/dvb_dummy_fe.c @@ -121,6 +121,7 @@ struct dvb_frontend* dvb_dummy_fe_ofdm_attach(void) state->frontend.demodulator_priv = state; return &state->frontend; } +EXPORT_SYMBOL(dvb_dummy_fe_ofdm_attach); static const struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops; @@ -138,6 +139,7 @@ struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void) state->frontend.demodulator_priv = state; return &state->frontend; } +EXPORT_SYMBOL(dvb_dummy_fe_qpsk_attach); static const struct dvb_frontend_ops dvb_dummy_fe_qam_ops; @@ -155,6 +157,7 @@ struct dvb_frontend *dvb_dummy_fe_qam_attach(void) state->frontend.demodulator_priv = state; return &state->frontend; } +EXPORT_SYMBOL(dvb_dummy_fe_qam_attach); static const struct dvb_frontend_ops dvb_dummy_fe_ofdm_ops = { .delsys = { SYS_DVBT }, @@ -253,7 +256,3 @@ static const struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops = { MODULE_DESCRIPTION("DVB DUMMY Frontend"); MODULE_AUTHOR("Emard"); MODULE_LICENSE("GPL"); - -EXPORT_SYMBOL(dvb_dummy_fe_ofdm_attach); -EXPORT_SYMBOL(dvb_dummy_fe_qam_attach); -EXPORT_SYMBOL(dvb_dummy_fe_qpsk_attach); -- 2.24.1