Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp321371ybx; Wed, 6 Nov 2019 17:45:56 -0800 (PST) X-Google-Smtp-Source: APXvYqyZEWs6EQ3TsInrqyauiWAzeQU2702TJvNsVAuC5yMdwFLBWyEYZirfyBKjoyBeECWkx9wL X-Received: by 2002:a50:cd53:: with SMTP id d19mr883637edj.197.1573091156169; Wed, 06 Nov 2019 17:45:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573091156; cv=none; d=google.com; s=arc-20160816; b=I04aJ9RdYiDfzdrce4Q5tHCG9fAnzEUd+3R3deSMjfRgbej+abO11FS9QAlH3+1dWX Ij4/vF0jJxew+h9ONlD7FimXhK8LXhfmq/pWbVIYdDltawuJSPFI5UVvMi4WG+I7j1Ib XH0EpqLQDSXJtzJ2L0xRG/q4qv/LvanKC65gcR8sHcYmULdeo8mxAysunC074sY63Rw8 hnGapzSzkP+j19JPjSQ++RaEXHGkPiC+txSWc6FIRaJZw/u/EE8V5KrHfyawZUIgdVK+ bAyoKDYUaf13RWomn6XFPvywFQjxCTHjFHsrK3SzlxrBTCVLpHtA+nu2IioYZ8nPtYHT yTPw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=tPal4Tiqr59qTE4j9taLMEZPyrRNOc3SEDhq39Ai+vg=; b=0gb64eoJdmUnWo4o7Yhxgg/a47Gc0RkSbAFJVAle5WBu8puXk1+p14k1phf1n/RPm7 EbtBXJpzRrkzIHChlCsHW4e+JUUzFK3hZblq+77x0MMsmZPG8Iv4ytqSWuZs7GZ7LODz zefQfG6DnefaNb2PyUZVlgXDHTGIEF+x2hOLo3JAze7jIcPtkJHyt/ChGc+ER0Quraa9 jPfPxn2cfZIOLHQa+THh8hoGPw+29sEmz3oyeirUjj0s4VXiI6Rh4qvUhaK3l56/vyxE AAMz6Xq5/0QSkkw9NOs5aP5nQOztxrqD1BJEVQ92NsBJAAtXhWV1cCwtSpP1T1olUTue 9gGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kic0KlCf; 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 oj22si489756ejb.230.2019.11.06.17.45.32; Wed, 06 Nov 2019 17:45:56 -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=kic0KlCf; 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 S1732954AbfKGBoG (ORCPT + 99 others); Wed, 6 Nov 2019 20:44:06 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:36074 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727751AbfKGBoF (ORCPT ); Wed, 6 Nov 2019 20:44:05 -0500 Received: by mail-qt1-f195.google.com with SMTP id y10so633050qto.3; Wed, 06 Nov 2019 17:44:04 -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:mime-version :content-transfer-encoding; bh=tPal4Tiqr59qTE4j9taLMEZPyrRNOc3SEDhq39Ai+vg=; b=kic0KlCfgbyQSycleGSUGHg4bZcIuK3yiYuF99JI4LmP+9yGNWmh7TBUXvukOm0JVd nVJVCnB8tq/YCsPxguRsnntFs7IuCYTrd4/7stszwGUmFf3vRa2UX1+HQ6UC1TdpRRCD VS9G8/HP64zEU99KnjBUQz1h/o286W4d0lKqe8ceAdQBauATsFQMp5sUOLrjabMdHXc+ y0svqQXEXfZIDswBnvrWB8pb0j5FdfIhqlYDVNxlL9q4XloYWAzSuwP7051wmYXjbWCe DJvSrI+bhrnVh+aphEb9xAPBwUmi9Mv7s/z8vTPVzm7AAVSbhPIgbwgLElwvlr5uTdrh 2fbw== 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:mime-version :content-transfer-encoding; bh=tPal4Tiqr59qTE4j9taLMEZPyrRNOc3SEDhq39Ai+vg=; b=q72BOucDefGAS6qe3OOkXKev5HD6Jzl/qhrqJIzQncDC/8NyJi1NqbzZsgE6Y+dfDU pUgtjA7h9Gz3riFVpUcmiFcvakS3z1wbbNdrBt1CMMuMtl2ajGn1OWc49bqZMKqp/nJQ DDS7D5024HGtV5gC33pDfurDr0Tb7aw6rDTv50pVujIQ+N99oaP+jE94GjLDxE1RnxUP gFRbyAYhEizW/cjJoucGoDCxE/7PWiFN9nygbQNT81zwYLyNq7uclFf83+pmEVkSavSl 3yFKgbkJUkitT8ZU9H9JKmWI0Gg0tXoX8dKMu/rUA6eY9C5vQnWJNea5Ten/j4vBXzJq sg1w== X-Gm-Message-State: APjAAAWs3fRHhPjVgwgBOMUcs6Xr+2YAjwaE9xP3ithGLAHJNiLXtpqP 6w/owZIjmX1fBu0ASDg4E3g= X-Received: by 2002:ac8:7188:: with SMTP id w8mr1173603qto.211.1573091044281; Wed, 06 Nov 2019 17:44:04 -0800 (PST) Received: from localhost.localdomain ([2804:14d:72b1:8920:a2ce:f815:f14d:bfac]) by smtp.gmail.com with ESMTPSA id g45sm377343qtb.48.2019.11.06.17.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 17:44:03 -0800 (PST) From: "Daniel W. S. Almeida" X-Google-Original-From: Daniel W. S. Almeida To: mchehab@kernel.org, rfontana@redhat.com, gregkh@linuxfoundation.org, allison@lohutok.net, kstewart@linuxfoundation.org, tglx@linutronix.de Cc: "Daniel W. S. Almeida" , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH v2] media: dvb_dummy_fe: place EXPORT_SYMBOL below corresponding function Date: Wed, 6 Nov 2019 22:36:33 -0300 Message-Id: <20191107013633.21894-1-dwlsalmeida@gmail.com> X-Mailer: git-send-email 2.24.0 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 --- Changes in V2: *Add git commit log --- 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.0