[0904_13] Siano: move DVB_API and remove redundant code
PATCH 1/1 [0904_13] Siano: move DVB_API and remove redundant code
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1238755204 -10800
# Node ID f65a29f0f9a66f82a91525ae0085a15f00ac91c2
# Parent 897669fdeb3be75a2bde978557b5398a4a7d8914 [PATCH] [0904_13] Siano: move DVB_API and remove redundant code
From: Uri Shkolnik <[email protected]>
The DVB-API related information has been moved from the core header to the smsdvb, and the redundant code has been removed from the core header.
This code has been moved since it is used only by
the smsdvb client component.
Priority: normal
linux/drivers/media/dvb/siano/smscoreapi.h +0 -9
@@ -36,15 +36,6 @@ along with this program. If not, see <h#include <asm/page.h> /* #include "smsir.h" */ - -#define SMS_DVB3_SUBSYS -#ifdef SMS_DVB3_SUBSYS -#include "dmxdev.h" -#include "dvbdev.h" -#include "dvb_demux.h" -#include "dvb_frontend.h" - -#endif #define kmutex_init (_p_) mutex_init(_p_)#define kmutex_lock (_p_) mutex_lock(_p_)
linux/drivers/media/dvb/siano/smsdvb.c +6 -1
@@ -22,6 +22,11 @@ along with this program. If not, see <h#include <linux/module.h> #include <linux/init.h> #include <asm/byteorder.h> + +#include "dmxdev.h" +#include "dvbdev.h" +#include "dvb_demux.h" +#include "dvb_frontend.h" #include "smscoreapi.h" /*#include "smsendian.h"*/
@@ -52,7 +57,7 @@ struct smsdvb_client_t {fe_status_t fe_status;int fe_ber, fe_snr, fe_unc, fe_signal_strength; -struct completion tune_done, stat_done; +struct completion tune_done;/* todo: save freq/band instead whole struct */ struct dvb_frontend_parameters fe_params;
Quoted 8 lines · On Sun, 5 Apr 2009 03:31:32 -0700 (PDT) Uri Shkolnik <[email protected]> wrote:
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1238755204 -10800
# Node IDf65a29f0f9a66f82a91525ae0085a15f00ac91c2
# Parent897669fdeb3be75a2bde978557b5398a4a7d8914[PATCH] [0904_13] Siano: moveDVB_APIand remove redundant code
Quoted 8 lines
From: Uri Shkolnik <[email protected]>
The DVB-API related information has been moved from the core header to the smsdvb, and the redundant code has been removed from the core header.
This code has been moved since it is used only by
the smsdvb client component.
This patch depends on the previous patches that I asked some changes. Please re-submit it together with the other patches that weren't committed. It is probably not much valuable to commit the later patches, so I'll stop analysing the code here.
The patch itself looks sane to my eyes.
Quoted 53 lines
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>diff -r
897669fdeb3b-rf65a29f0f9a6linux/drivers/media/dvb/siano/smscoreapi.hlinux/drivers/media/dvb/siano/smscoreapi.h +0
-9@@ -36,15 +36,6 @@ along with this program. If not, see <h#include <asm/page.h> /* #include "smsir.h" */ - -#define SMS_DVB3_SUBSYS -#ifdef SMS_DVB3_SUBSYS -#include "dmxdev.h" -#include "dvbdev.h" -#include "dvb_demux.h" -#include "dvb_frontend.h" - -#endif #define kmutex_init (_p_) mutex_init(_p_)#define kmutex_lock (_p_) mutex_lock(_p_)diff -r
897669fdeb3b-rf65a29f0f9a6linux/drivers/media/dvb/siano/smsdvb.clinux/drivers/media/dvb/siano/smsdvb.c +6
-2@@ -22,6 +22,11 @@ along with this program. If not, see <h#include <linux/module.h> #include <linux/init.h> #include <asm/byteorder.h> + +#include "dmxdev.h" +#include "dvbdev.h" +#include "dvb_demux.h" +#include "dvb_frontend.h" #include "smscoreapi.h" /*#include "smsendian.h"*/ @@ -52,7 +57,7 @@ struct smsdvb_client_t {fe_status_t fe_status;int fe_ber, fe_snr, fe_unc, fe_signal_strength; -struct completion tune_done, stat_done; +struct completion tune_done;/* todo: save freq/band instead whole struct */ struct dvb_frontend_parameters fe_params; --
Quoted 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Cheers,
Mauro