From 61fd25836fdbeb0d77539292104f88265bc2fdfa Mon Sep 17 00:00:00 2001 From: rjkm Date: Sat, 7 Aug 2021 22:49:43 +0200 Subject: [PATCH] report proper frontend number --- dvb-core/dvb_frontend.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dvb-core/dvb_frontend.c b/dvb-core/dvb_frontend.c index 9f6ce4b..a82573d 100644 --- a/dvb-core/dvb_frontend.c +++ b/dvb-core/dvb_frontend.c @@ -3028,13 +3028,13 @@ int dvb_register_frontend(struct dvb_adapter *dvb, fe->dvb = dvb; fepriv->inversion = INVERSION_OFF; - dev_info(fe->dvb->device, - "DVB: registering adapter %i frontend %i (%s)...\n", - fe->dvb->num, fe->id, fe->ops.info.name); - dvb_register_device(fe->dvb, &fepriv->dvbdev, &dvbdev_template, fe, DVB_DEVICE_FRONTEND, 0); + dev_info(fe->dvb->device, + "DVB: registering adapter %i frontend %i (%s)...\n", + fe->dvb->num, fepriv->dvbdev->id, fe->ops.info.name); + /* * Initialize the cache to the proper values according with the * first supported delivery system (ops->delsys[0])