Re: [PATCH] [0904_4] Siano: core header indentation

2009-04-27 Thread Uri Shkolnik

[[ Got qmail error on previous mail, re-submit. ]]

--- On Mon, 4/27/09, Uri Shkolnik  wrote:

Mauro,

This patch (original 0904_4) is labeled as "RFC" but there
are no comment at all. Please either accept or comment.

10x,
Uri




  
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] [0904_4] Siano: core header indentation

2009-04-05 Thread Uri Shkolnik

# HG changeset patch
# User Uri Shkolnik 
# Date 1238692069 -10800
# Node ID 83b19eba46dd4f8253d02c26db4f42728d60e28f
# Parent  19925582e5dded86fccce7d8c9965285c1240836
siano: core header identation
[PATCH] [0904_4] Siano: core header indentation

From: Uri Shkolnik 

smscoreapi.h - indentation and removing lots of white spaces
There are no implementation changes in this patch.

Priority: normal

Signed-off-by: Uri Shkolnik 

diff -r 19925582e5dd -r 83b19eba46dd linux/drivers/media/dvb/siano/smscoreapi.h
--- a/linux/drivers/media/dvb/siano/smscoreapi.hThu Apr 02 19:56:01 
2009 +0300
+++ b/linux/drivers/media/dvb/siano/smscoreapi.hThu Apr 02 20:07:49 
2009 +0300
@@ -103,31 +103,31 @@ struct smscore_buffer_t {
 };
 
 struct smsdevice_params_t {
-   struct device   *device;
+   struct device *device;
 
-   int buffer_size;
-   int num_buffers;
+   int buffer_size;
+   int num_buffers;
 
-   chardevpath[32];
-   unsigned long   flags;
+   char devpath[32];
+   unsigned long flags;
 
-   setmode_t   setmode_handler;
-   detectmode_tdetectmode_handler;
-   sendrequest_t   sendrequest_handler;
-   preload_t   preload_handler;
-   postload_t  postload_handler;
+   setmode_t setmode_handler;
+   detectmode_t detectmode_handler;
+   sendrequest_t sendrequest_handler;
+   preload_t preload_handler;
+   postload_t postload_handler;
 
-   void*context;
+   void *context;
enum sms_device_type_st device_type;
 };
 
 struct smsclient_params_t {
-   int initial_id;
-   int data_type;
-   onresponse_tonresponse_handler;
-   onremove_t  onremove_handler;
+   int initial_id;
+   int data_type;
+   onresponse_t onresponse_handler;
+   onremove_t onremove_handler;
 
-   void*context;
+   void *context;
 };
 
 struct smscore_device_t {
@@ -185,26 +185,26 @@ struct smscore_device_t {
 };
 
 /* GPIO definitions for antenna frequency domain control (SMS8021) */
-#define SMS_ANTENNA_GPIO_0 1
-#define SMS_ANTENNA_GPIO_1 0
+#define SMS_ANTENNA_GPIO_0 1
+#define SMS_ANTENNA_GPIO_1 0
 
-#define BW_8_MHZ   0
-#define BW_7_MHZ   1
-#define BW_6_MHZ   2
-#define BW_5_MHZ   3
-#define BW_ISDBT_1SEG  4
-#define BW_ISDBT_3SEG  5
+#define BW_8_MHZ   0
+#define BW_7_MHZ   1
+#define BW_6_MHZ   2
+#define BW_5_MHZ   3
+#define BW_ISDBT_1SEG  4
+#define BW_ISDBT_3SEG  5
 
 #define MSG_HDR_FLAG_SPLIT_MSG 4
 
-#define MAX_GPIO_PIN_NUMBER31
+#define MAX_GPIO_PIN_NUMBER31
 
-#define HIF_TASK   11
-#define SMS_HOST_LIB   150
+#define HIF_TASK   11
+#define SMS_HOST_LIB   150
 #define DVBT_BDA_CONTROL_MSG_ID201
 
 #define SMS_MAX_PAYLOAD_SIZE   240
-#define SMS_TUNE_TIMEOUT   500
+#define SMS_TUNE_TIMEOUT   500
 
 #define MSG_SMS_GPIO_CONFIG_REQ507
 #define MSG_SMS_GPIO_CONFIG_RES508
@@ -212,45 +212,45 @@ struct smscore_device_t {
 #define MSG_SMS_GPIO_SET_LEVEL_RES 510
 #define MSG_SMS_GPIO_GET_LEVEL_REQ 511
 #define MSG_SMS_GPIO_GET_LEVEL_RES 512
-#define MSG_SMS_RF_TUNE_REQ561
-#define MSG_SMS_RF_TUNE_RES562
+#define MSG_SMS_RF_TUNE_REQ561
+#define MSG_SMS_RF_TUNE_RES562
 #define MSG_SMS_INIT_DEVICE_REQ578
 #define MSG_SMS_INIT_DEVICE_RES579
 #define MSG_SMS_ADD_PID_FILTER_REQ 601
 #define MSG_SMS_ADD_PID_FILTER_RES 602
-#define MSG_SMS_REMOVE_PID_FILTER_REQ  603
-#define MSG_SMS_REMOVE_PID_FILTER_RES  604
-#define MSG_SMS_DAB_CHANNEL