Commit dbf0a03b authored by Peter Senna Tschudin's avatar Peter Senna Tschudin Committed by Greg Kroah-Hartman

staging: vt6556: Cleanup coding style: #define

This patch cleanup coding style issues on #defines.

Tested by compilation only.
Signed-off-by: default avatarPeter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 33e9ab3d
...@@ -41,7 +41,7 @@ typedef enum _CARD_PHY_TYPE { ...@@ -41,7 +41,7 @@ typedef enum _CARD_PHY_TYPE {
#define CB_MAX_CHANNEL_24G 14 #define CB_MAX_CHANNEL_24G 14
#define CB_MAX_CHANNEL_5G 42 /* add channel9(5045MHz), 41==>42 */ #define CB_MAX_CHANNEL_5G 42 /* add channel9(5045MHz), 41==>42 */
#define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G+CB_MAX_CHANNEL_5G) #define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G + CB_MAX_CHANNEL_5G)
struct vnt_private; struct vnt_private;
......
...@@ -75,16 +75,16 @@ MODULE_AUTHOR(DRIVER_AUTHOR); ...@@ -75,16 +75,16 @@ MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION(DEVICE_FULL_DRV_NAM); MODULE_DESCRIPTION(DEVICE_FULL_DRV_NAM);
#define DEVICE_PARAM(N,D) \ #define DEVICE_PARAM(N, D) \
static int N[MAX_UINTS]=OPTION_DEFAULT;\ static int N[MAX_UINTS] = OPTION_DEFAULT; \
module_param_array(N, int, NULL, 0);\ module_param_array(N, int, NULL, 0); \
MODULE_PARM_DESC(N, D); MODULE_PARM_DESC(N, D)
#define RX_DESC_DEF0 64 #define RX_DESC_DEF0 64
DEVICE_PARAM(RxDescriptors0,"Number of receive usb desc buffer"); DEVICE_PARAM(RxDescriptors0, "Number of receive usb desc buffer");
#define TX_DESC_DEF0 64 #define TX_DESC_DEF0 64
DEVICE_PARAM(TxDescriptors0,"Number of transmit usb desc buffer"); DEVICE_PARAM(TxDescriptors0, "Number of transmit usb desc buffer");
#define CHANNEL_DEF 6 #define CHANNEL_DEF 6
DEVICE_PARAM(Channel, "Channel number"); DEVICE_PARAM(Channel, "Channel number");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment