mirror of https://gitee.com/openkylin/linux.git
media: dvb_dummy_fe: place EXPORT_SYMBOL below corresponding function
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 <skhan@linuxfoundation.org> Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
080d89f522
commit
17a529d099
|
@ -121,6 +121,7 @@ struct dvb_frontend* dvb_dummy_fe_ofdm_attach(void)
|
||||||
state->frontend.demodulator_priv = state;
|
state->frontend.demodulator_priv = state;
|
||||||
return &state->frontend;
|
return &state->frontend;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(dvb_dummy_fe_ofdm_attach);
|
||||||
|
|
||||||
static const struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops;
|
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;
|
state->frontend.demodulator_priv = state;
|
||||||
return &state->frontend;
|
return &state->frontend;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(dvb_dummy_fe_qpsk_attach);
|
||||||
|
|
||||||
static const struct dvb_frontend_ops dvb_dummy_fe_qam_ops;
|
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;
|
state->frontend.demodulator_priv = state;
|
||||||
return &state->frontend;
|
return &state->frontend;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(dvb_dummy_fe_qam_attach);
|
||||||
|
|
||||||
static const struct dvb_frontend_ops dvb_dummy_fe_ofdm_ops = {
|
static const struct dvb_frontend_ops dvb_dummy_fe_ofdm_ops = {
|
||||||
.delsys = { SYS_DVBT },
|
.delsys = { SYS_DVBT },
|
||||||
|
@ -253,7 +256,3 @@ static const struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops = {
|
||||||
MODULE_DESCRIPTION("DVB DUMMY Frontend");
|
MODULE_DESCRIPTION("DVB DUMMY Frontend");
|
||||||
MODULE_AUTHOR("Emard");
|
MODULE_AUTHOR("Emard");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
EXPORT_SYMBOL(dvb_dummy_fe_ofdm_attach);
|
|
||||||
EXPORT_SYMBOL(dvb_dummy_fe_qam_attach);
|
|
||||||
EXPORT_SYMBOL(dvb_dummy_fe_qpsk_attach);
|
|
||||||
|
|
Loading…
Reference in New Issue