Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8712: rtl871x_mp_ioctl.h - style fix

Fixed style of block comments
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Derek Robson and committed by
Greg Kroah-Hartman
4c3ff837 8c8a4186

+107 -84
+107 -84
drivers/staging/rtl8712/rtl871x_mp_ioctl.h
··· 150 150 #ifdef _RTL871X_MP_IOCTL_C_ /* CAUTION!!! */ 151 151 /* This ifdef _MUST_ be left in!! */ 152 152 static const struct oid_obj_priv oid_rtl_seg_81_80_00[] = { 153 - {1, oid_null_function}, /*0x00 OID_RT_PRO_RESET_DUT */ 154 - {1, oid_rt_pro_set_data_rate_hdl}, /*0x01*/ 155 - {1, oid_rt_pro_start_test_hdl}, /*0x02*/ 156 - {1, oid_rt_pro_stop_test_hdl}, /*0x03*/ 157 - {1, oid_null_function}, /*0x04 OID_RT_PRO_SET_PREAMBLE*/ 158 - {1, oid_null_function}, /*0x05 OID_RT_PRO_SET_SCRAMBLER*/ 159 - {1, oid_null_function}, /*0x06 OID_RT_PRO_SET_FILTER_BB*/ 160 - {1, oid_null_function}, /*0x07 161 - * OID_RT_PRO_SET_MANUAL_DIVERS_BB 162 - */ 163 - {1, oid_rt_pro_set_channel_direct_call_hdl}, /*0x08*/ 164 - {1, oid_null_function}, /*0x09 165 - * OID_RT_PRO_SET_SLEEP_MODE_DIRECT_CALL 166 - */ 167 - {1, oid_null_function}, /*0x0A 168 - * OID_RT_PRO_SET_WAKE_MODE_DIRECT_CALL 169 - */ 170 - {1, oid_rt_pro_set_continuous_tx_hdl}, /*0x0B 171 - * OID_RT_PRO_SET_TX_CONTINUOUS_DIRECT_CALL 172 - */ 173 - {1, oid_rt_pro_set_single_carrier_tx_hdl}, /*0x0C 174 - * OID_RT_PRO_SET_SINGLE_CARRIER_TX_CONTINUOUS 175 - */ 176 - {1, oid_null_function}, /*0x0D 177 - * OID_RT_PRO_SET_TX_ANTENNA_BB 178 - */ 179 - {1, oid_rt_pro_set_antenna_bb_hdl}, /*0x0E*/ 180 - {1, oid_null_function}, /*0x0F OID_RT_PRO_SET_CR_SCRAMBLER*/ 181 - {1, oid_null_function}, /*0x10 OID_RT_PRO_SET_CR_NEW_FILTER*/ 182 - {1, oid_rt_pro_set_tx_power_control_hdl}, /*0x11 183 - * OID_RT_PRO_SET_TX_POWER_CONTROL 184 - */ 185 - {1, oid_null_function}, /*0x12 OID_RT_PRO_SET_CR_TX_CONFIG*/ 186 - {1, oid_null_function}, /*0x13 187 - * OID_RT_PRO_GET_TX_POWER_CONTROL 188 - */ 189 - {1, oid_null_function}, /*0x14 190 - * OID_RT_PRO_GET_CR_SIGNAL_QUALITY 191 - */ 192 - {1, oid_null_function}, /*0x15 OID_RT_PRO_SET_CR_SETPOINT*/ 193 - {1, oid_null_function}, /*0x16 OID_RT_PRO_SET_INTEGRATOR*/ 194 - {1, oid_null_function}, /*0x17 OID_RT_PRO_SET_SIGNAL_QUALITY*/ 195 - {1, oid_null_function}, /*0x18 OID_RT_PRO_GET_INTEGRATOR*/ 196 - {1, oid_null_function}, /*0x19 OID_RT_PRO_GET_SIGNAL_QUALITY*/ 197 - {1, oid_null_function}, /*0x1A OID_RT_PRO_QUERY_EEPROM_TYPE*/ 198 - {1, oid_null_function}, /*0x1B OID_RT_PRO_WRITE_MAC_ADDRESS*/ 199 - {1, oid_null_function}, /*0x1C OID_RT_PRO_READ_MAC_ADDRESS*/ 200 - {1, oid_null_function}, /*0x1D OID_RT_PRO_WRITE_CIS_DATA*/ 201 - {1, oid_null_function}, /*0x1E OID_RT_PRO_READ_CIS_DATA*/ 202 - {1, oid_null_function} /*0x1F OID_RT_PRO_WRITE_POWER_CONTROL*/ 153 + /* 0x00 OID_RT_PRO_RESET_DUT */ 154 + {1, oid_null_function}, 155 + /* 0x01 */ 156 + {1, oid_rt_pro_set_data_rate_hdl}, 157 + /* 0x02 */ 158 + {1, oid_rt_pro_start_test_hdl}, 159 + /* 0x03 */ 160 + {1, oid_rt_pro_stop_test_hdl}, 161 + /* 0x04 OID_RT_PRO_SET_PREAMBLE */ 162 + {1, oid_null_function}, 163 + /* 0x05 OID_RT_PRO_SET_SCRAMBLER */ 164 + {1, oid_null_function}, 165 + /* 0x06 OID_RT_PRO_SET_FILTER_BB */ 166 + {1, oid_null_function}, 167 + /* 0x07 OID_RT_PRO_SET_MANUAL_DIVERS_BB */ 168 + {1, oid_null_function}, 169 + /* 0x08 */ 170 + {1, oid_rt_pro_set_channel_direct_call_hdl}, 171 + /* 0x09 OID_RT_PRO_SET_SLEEP_MODE_DIRECT_CALL */ 172 + {1, oid_null_function}, 173 + /* 0x0A OID_RT_PRO_SET_WAKE_MODE_DIRECT_CALL */ 174 + {1, oid_null_function}, 175 + /* 0x0B OID_RT_PRO_SET_TX_CONTINUOUS_DIRECT_CALL */ 176 + {1, oid_rt_pro_set_continuous_tx_hdl}, 177 + /* 0x0C OID_RT_PRO_SET_SINGLE_CARRIER_TX_CONTINUOUS */ 178 + {1, oid_rt_pro_set_single_carrier_tx_hdl}, 179 + /* 0x0D OID_RT_PRO_SET_TX_ANTENNA_BB */ 180 + {1, oid_null_function}, 181 + /* 0x0E */ 182 + {1, oid_rt_pro_set_antenna_bb_hdl}, 183 + /* 0x0F OID_RT_PRO_SET_CR_SCRAMBLER */ 184 + {1, oid_null_function}, 185 + /* 0x10 OID_RT_PRO_SET_CR_NEW_FILTER */ 186 + {1, oid_null_function}, 187 + /* 0x11 OID_RT_PRO_SET_TX_POWER_CONTROL */ 188 + {1, oid_rt_pro_set_tx_power_control_hdl}, 189 + /* 0x12 OID_RT_PRO_SET_CR_TX_CONFIG */ 190 + {1, oid_null_function}, 191 + /* 0x13 OID_RT_PRO_GET_TX_POWER_CONTROL */ 192 + {1, oid_null_function}, 193 + /* 0x14 OID_RT_PRO_GET_CR_SIGNAL_QUALITY */ 194 + {1, oid_null_function}, 195 + /* 0x15 OID_RT_PRO_SET_CR_SETPOINT */ 196 + {1, oid_null_function}, 197 + /* 0x16 OID_RT_PRO_SET_INTEGRATOR */ 198 + {1, oid_null_function}, 199 + /* 0x17 OID_RT_PRO_SET_SIGNAL_QUALITY */ 200 + {1, oid_null_function}, 201 + /* 0x18 OID_RT_PRO_GET_INTEGRATOR */ 202 + {1, oid_null_function}, 203 + /* 0x19 OID_RT_PRO_GET_SIGNAL_QUALITY */ 204 + {1, oid_null_function}, 205 + /* 0x1A OID_RT_PRO_QUERY_EEPROM_TYPE */ 206 + {1, oid_null_function}, 207 + /* 0x1B OID_RT_PRO_WRITE_MAC_ADDRESS */ 208 + {1, oid_null_function}, 209 + /* 0x1C OID_RT_PRO_READ_MAC_ADDRESS */ 210 + {1, oid_null_function}, 211 + /* 0x1D OID_RT_PRO_WRITE_CIS_DATA */ 212 + {1, oid_null_function}, 213 + /* 0x1E OID_RT_PRO_READ_CIS_DATA */ 214 + {1, oid_null_function}, 215 + /* 0x1F OID_RT_PRO_WRITE_POWER_CONTROL */ 216 + {1, oid_null_function} 203 217 }; 204 218 205 219 static const struct oid_obj_priv oid_rtl_seg_81_80_20[] = { 206 - {1, oid_null_function}, /*0x20 OID_RT_PRO_READ_POWER_CONTROL*/ 207 - {1, oid_null_function}, /*0x21 OID_RT_PRO_WRITE_EEPROM*/ 208 - {1, oid_null_function}, /*0x22 OID_RT_PRO_READ_EEPROM*/ 209 - {1, oid_rt_pro_reset_tx_packet_sent_hdl}, /*0x23*/ 210 - {1, oid_rt_pro_query_tx_packet_sent_hdl}, /*0x24*/ 211 - {1, oid_rt_pro_reset_rx_packet_received_hdl}, /*0x25*/ 212 - {1, oid_rt_pro_query_rx_packet_received_hdl}, /*0x26*/ 213 - {1, oid_rt_pro_query_rx_packet_crc32_error_hdl},/*0x27*/ 214 - {1, oid_null_function}, /*0x28 215 - *OID_RT_PRO_QUERY_CURRENT_ADDRESS 216 - */ 217 - {1, oid_null_function}, /*0x29 218 - *OID_RT_PRO_QUERY_PERMANENT_ADDRESS 219 - */ 220 - {1, oid_null_function}, /*0x2A 221 - *OID_RT_PRO_SET_PHILIPS_RF_PARAMETERS 222 - */ 223 - {1, oid_rt_pro_set_carrier_suppression_tx_hdl},/*0x2B 224 - *OID_RT_PRO_SET_CARRIER_SUPPRESSION_TX 225 - */ 226 - {1, oid_null_function}, /*0x2C OID_RT_PRO_RECEIVE_PACKET*/ 227 - {1, oid_null_function}, /*0x2D OID_RT_PRO_WRITE_EEPROM_BYTE*/ 228 - {1, oid_null_function}, /*0x2E OID_RT_PRO_READ_EEPROM_BYTE*/ 229 - {1, oid_rt_pro_set_modulation_hdl} /*0x2F*/ 220 + /* 0x20 OID_RT_PRO_READ_POWER_CONTROL */ 221 + {1, oid_null_function}, 222 + /* 0x21 OID_RT_PRO_WRITE_EEPROM */ 223 + {1, oid_null_function}, 224 + /* 0x22 OID_RT_PRO_READ_EEPROM */ 225 + {1, oid_null_function}, 226 + /* 0x23 */ 227 + {1, oid_rt_pro_reset_tx_packet_sent_hdl}, 228 + /* 0x24 */ 229 + {1, oid_rt_pro_query_tx_packet_sent_hdl}, 230 + /* 0x25 */ 231 + {1, oid_rt_pro_reset_rx_packet_received_hdl}, 232 + /* 0x26 */ 233 + {1, oid_rt_pro_query_rx_packet_received_hdl}, 234 + /* 0x27 */ 235 + {1, oid_rt_pro_query_rx_packet_crc32_error_hdl}, 236 + /* 0x28 OID_RT_PRO_QUERY_CURRENT_ADDRESS */ 237 + {1, oid_null_function}, 238 + /* 0x29 OID_RT_PRO_QUERY_PERMANENT_ADDRESS */ 239 + {1, oid_null_function}, 240 + /* 0x2A OID_RT_PRO_SET_PHILIPS_RF_PARAMETERS */ 241 + {1, oid_null_function}, 242 + /* 0x2B OID_RT_PRO_SET_CARRIER_SUPPRESSION_TX */ 243 + {1, oid_rt_pro_set_carrier_suppression_tx_hdl}, 244 + /* 0x2C OID_RT_PRO_RECEIVE_PACKET */ 245 + {1, oid_null_function}, 246 + /* 0x2D OID_RT_PRO_WRITE_EEPROM_BYTE */ 247 + {1, oid_null_function}, 248 + /* 0x2E OID_RT_PRO_READ_EEPROM_BYTE */ 249 + {1, oid_null_function}, 250 + /* 0x2F */ 251 + {1, oid_rt_pro_set_modulation_hdl} 230 252 }; 231 253 232 254 static const struct oid_obj_priv oid_rtl_seg_81_80_40[] = { 233 - {1, oid_null_function}, /*0x40*/ 234 - {1, oid_null_function}, /*0x41*/ 235 - {1, oid_null_function}, /*0x42*/ 236 - {1, oid_rt_pro_set_single_tone_tx_hdl}, /*0x43*/ 237 - {1, oid_null_function}, /*0x44*/ 238 - {1, oid_null_function} /*0x45*/ 255 + {1, oid_null_function}, /* 0x40 */ 256 + {1, oid_null_function}, /* 0x41 */ 257 + {1, oid_null_function}, /* 0x42 */ 258 + {1, oid_rt_pro_set_single_tone_tx_hdl}, /* 0x43 */ 259 + {1, oid_null_function}, /* 0x44 */ 260 + {1, oid_null_function} /* 0x45 */ 239 261 }; 240 262 241 263 static const struct oid_obj_priv oid_rtl_seg_81_80_80[] = { 242 - {1, oid_null_function}, /*0x80 OID_RT_DRIVER_OPTION*/ 243 - {1, oid_null_function}, /*0x81 OID_RT_RF_OFF*/ 244 - {1, oid_null_function} /*0x82 OID_RT_AUTH_STATUS*/ 264 + {1, oid_null_function}, /* 0x80 OID_RT_DRIVER_OPTION */ 265 + {1, oid_null_function}, /* 0x81 OID_RT_RF_OFF */ 266 + {1, oid_null_function} /* 0x82 OID_RT_AUTH_STATUS */ 245 267 246 268 }; 247 269 248 270 static const struct oid_obj_priv oid_rtl_seg_81_85[] = { 249 - {1, oid_rt_wireless_mode_hdl} /*0x00 OID_RT_WIRELESS_MODE*/ 271 + /* 0x00 OID_RT_WIRELESS_MODE */ 272 + {1, oid_rt_wireless_mode_hdl} 250 273 }; 251 274 252 275 #else /* _RTL871X_MP_IOCTL_C_ */