Commit de53d526 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: dgap: Fix trailing whitespace in digi.h

This patch fixed trailing whitespace error found by
checkpatch.pl in dgap/digi.h
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarLidza Louina <Lidza.Louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60738f60
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#define TIOCMODG ('d'<<8) | 250 /* get modem ctrl state */ #define TIOCMODG ('d'<<8) | 250 /* get modem ctrl state */
#define TIOCMODS ('d'<<8) | 251 /* set modem ctrl state */ #define TIOCMODS ('d'<<8) | 251 /* set modem ctrl state */
#ifndef TIOCM_LE #ifndef TIOCM_LE
#define TIOCM_LE 0x01 /* line enable */ #define TIOCM_LE 0x01 /* line enable */
#define TIOCM_DTR 0x02 /* data terminal ready */ #define TIOCM_DTR 0x02 /* data terminal ready */
#define TIOCM_RTS 0x04 /* request to send */ #define TIOCM_RTS 0x04 /* request to send */
...@@ -122,7 +122,7 @@ struct digiflow_t { ...@@ -122,7 +122,7 @@ struct digiflow_t {
#endif #endif
/************************************************************************ /************************************************************************
* Values for digi_flags * Values for digi_flags
************************************************************************/ ************************************************************************/
#define DIGI_IXON 0x0001 /* Handle IXON in the FEP */ #define DIGI_IXON 0x0001 /* Handle IXON in the FEP */
#define DIGI_FAST 0x0002 /* Fast baud rates */ #define DIGI_FAST 0x0002 /* Fast baud rates */
...@@ -193,8 +193,8 @@ struct rw_t { ...@@ -193,8 +193,8 @@ struct rw_t {
#define COMXI_TYPE 5 /* Board type at the designated port is a COM/Xi */ #define COMXI_TYPE 5 /* Board type at the designated port is a COM/Xi */
/* Non-Zero Result codes. */ /* Non-Zero Result codes. */
#define RESULT_NOBDFND 1 /* A Digi product at that port is not config installed */ #define RESULT_NOBDFND 1 /* A Digi product at that port is not config installed */
#define RESULT_NODESCT 2 /* A memory descriptor was not obtainable */ #define RESULT_NODESCT 2 /* A memory descriptor was not obtainable */
#define RESULT_NOOSSIG 3 /* FEP/OS signature was not detected on the board */ #define RESULT_NOOSSIG 3 /* FEP/OS signature was not detected on the board */
#define RESULT_TOOSML 4 /* Too small an area to shrink. */ #define RESULT_TOOSML 4 /* Too small an area to shrink. */
#define RESULT_NOCHAN 5 /* Channel structure for the board was not found */ #define RESULT_NOCHAN 5 /* Channel structure for the board was not found */
...@@ -205,7 +205,7 @@ struct shrink_buf_struct { ...@@ -205,7 +205,7 @@ struct shrink_buf_struct {
unsigned long shrink_buf_bseg; /* Amount of board memory */ unsigned long shrink_buf_bseg; /* Amount of board memory */
unsigned long shrink_buf_hseg; /* '186 Beginning of Dual-Port */ unsigned long shrink_buf_hseg; /* '186 Beginning of Dual-Port */
unsigned long shrink_buf_lseg; /* '186 Beginning of freed memory */ unsigned long shrink_buf_lseg; /* '186 Beginning of freed memory */
unsigned long shrink_buf_mseg; /* Linear address from start of unsigned long shrink_buf_mseg; /* Linear address from start of
dual-port were freed memory dual-port were freed memory
begins, host viewpoint. */ begins, host viewpoint. */
...@@ -220,18 +220,18 @@ struct shrink_buf_struct { ...@@ -220,18 +220,18 @@ struct shrink_buf_struct {
unsigned char shrink_buf_result; /* Reason for call failing unsigned char shrink_buf_result; /* Reason for call failing
Zero is Good return */ Zero is Good return */
unsigned char shrink_buf_init; /* Non-Zero if it caused an unsigned char shrink_buf_init; /* Non-Zero if it caused an
xxinit call. */ xxinit call. */
unsigned char shrink_buf_anports; /* Number of async ports */ unsigned char shrink_buf_anports; /* Number of async ports */
unsigned char shrink_buf_snports; /* Number of sync ports */ unsigned char shrink_buf_snports; /* Number of sync ports */
unsigned char shrink_buf_type; /* Board type 1 = PC/Xi, unsigned char shrink_buf_type; /* Board type 1 = PC/Xi,
2 = PC/Xm, 2 = PC/Xm,
3 = PC/Xe 3 = PC/Xe
4 = MC/Xi 4 = MC/Xi
5 = COMX/i */ 5 = COMX/i */
unsigned char shrink_buf_card; /* Card number */ unsigned char shrink_buf_card; /* Card number */
}; };
/************************************************************************ /************************************************************************
...@@ -244,7 +244,7 @@ struct digi_dinfo { ...@@ -244,7 +244,7 @@ struct digi_dinfo {
}; };
#define DIGI_GETDD ('d'<<8) | 248 /* get driver info */ #define DIGI_GETDD ('d'<<8) | 248 /* get driver info */
/************************************************************************ /************************************************************************
* Structure used with ioctl commands for per-board information * Structure used with ioctl commands for per-board information
* *
...@@ -264,7 +264,7 @@ struct digi_info { ...@@ -264,7 +264,7 @@ struct digi_info {
}; };
#define DIGI_GETBD ('d'<<8) | 249 /* get board info */ #define DIGI_GETBD ('d'<<8) | 249 /* get board info */
struct digi_stat { struct digi_stat {
unsigned int info_chan; /* Channel number (0 based) */ unsigned int info_chan; /* Channel number (0 based) */
unsigned int info_brd; /* Board number (0 based) */ unsigned int info_brd; /* Board number (0 based) */
...@@ -299,7 +299,7 @@ struct digi_ch { ...@@ -299,7 +299,7 @@ struct digi_ch {
}; };
/* /*
* This structure is used with the DIGI_FEPCMD ioctl to * This structure is used with the DIGI_FEPCMD ioctl to
* tell the driver which port to send the command for. * tell the driver which port to send the command for.
*/ */
struct digi_cmd { struct digi_cmd {
......
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