summaryrefslogtreecommitdiffstats
path: root/drivers/staging/keucr/usb.h
diff options
context:
space:
mode:
authorAmarjargal Gundjalam <amarjargal16@gmail.com>2013-05-17 01:06:05 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 21:13:16 -0700
commit1557a640284fff4011bca99336fd292d464a86b3 (patch)
treeeed37d97f7600a65a02a1f6a1ac46e87e3af184d /drivers/staging/keucr/usb.h
parentdc606b8e4f0de0b90a255f59056e4e5654317a9f (diff)
downloadop-kernel-dev-1557a640284fff4011bca99336fd292d464a86b3.zip
op-kernel-dev-1557a640284fff4011bca99336fd292d464a86b3.tar.gz
keucr: fixes do not use C99 // comments error
This patch fixes the following checkpatch error, ERROR: do not use C99 // comments Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr/usb.h')
-rw-r--r--drivers/staging/keucr/usb.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/staging/keucr/usb.h b/drivers/staging/keucr/usb.h
index 94da345..73c5df2 100644
--- a/drivers/staging/keucr/usb.h
+++ b/drivers/staging/keucr/usb.h
@@ -1,4 +1,4 @@
-// Driver for USB Mass Storage compliant devices
+/* Driver for USB Mass Storage compliant devices */
#ifndef _USB_H_
#define _USB_H_
@@ -26,19 +26,19 @@ struct us_unusual_dev {
int (*initFunction)(struct us_data *);
};
-//EnE HW Register
+/* EnE HW Register */
#define REG_CARD_STATUS 0xFF83
#define REG_HW_TRAP1 0xFF89
-// SRB Status. Refers /usr/include/wine/wine/wnaspi32.h & SCSI sense key
-#define SS_SUCCESS 0x00 // No Sense
+/* SRB Status. Refers /usr/include/wine/wine/wnaspi32.h & SCSI sense key */
+#define SS_SUCCESS 0x00 /* No Sense */
#define SS_NOT_READY 0x02
#define SS_MEDIUM_ERR 0x03
#define SS_HW_ERR 0x04
#define SS_ILLEGAL_REQUEST 0x05
#define SS_UNIT_ATTENTION 0x06
-//ENE Load FW Pattern
+/* ENE Load FW Pattern */
#define SD_INIT1_PATTERN 1
#define SD_INIT2_PATTERN 2
#define SD_RW_PATTERN 3
@@ -82,8 +82,9 @@ typedef struct _SM_STATUS {
BYTE IsMS:1;
} SM_STATUS, *PSM_STATUS;
-// SD Block Length
-#define SD_BLOCK_LEN 9 // 2^9 = 512 Bytes, The HW maximum read/write data length
+/* SD Block Length */
+#define SD_BLOCK_LEN 9 /* 2^9 = 512 Bytes,
+ The HW maximum read/write data length */
/* Dynamic bitflag definitions (us->dflags): used in set_bit() etc. */
#define US_FLIDX_URB_ACTIVE 0 /* current_urb is in use */
@@ -176,19 +177,19 @@ struct us_data {
#ifdef CONFIG_PM
pm_hook suspend_resume_hook;
#endif
- // for 6250 code
+ /* for 6250 code */
SD_STATUS SD_Status;
MS_STATUS MS_Status;
SM_STATUS SM_Status;
- //----- SD Control Data ----------------
- //SD_REGISTER SD_Regs;
+ /* ----- SD Control Data ---------------- */
+ /* SD_REGISTER SD_Regs; */
WORD SD_Block_Mult;
BYTE SD_READ_BL_LEN;
WORD SD_C_SIZE;
BYTE SD_C_SIZE_MULT;
- // SD/MMC New spec.
+ /* SD/MMC New spec. */
BYTE SD_SPEC_VER;
BYTE SD_CSD_VER;
BYTE SD20_HIGH_CAPACITY;
@@ -197,14 +198,14 @@ struct us_data {
BYTE MMC_BusWidth;
BYTE MMC_HIGH_CAPACITY;
- //----- MS Control Data ----------------
+ /* ----- MS Control Data ---------------- */
BOOLEAN MS_SWWP;
DWORD MSP_TotalBlock;
/* MS_LibControl MS_Lib; */
BOOLEAN MS_IsRWPage;
WORD MS_Model;
- //----- SM Control Data ----------------
+ /* ----- SM Control Data ---------------- */
BYTE SM_DeviceID;
BYTE SM_CardID;
@@ -213,7 +214,7 @@ struct us_data {
DWORD bl_num;
int SrbStatus;
- //------Power Managerment ---------------
+ /* ------Power Managerment --------------- */
BOOLEAN Power_IsResum;
};
OpenPOWER on IntegriCloud