Skip to contentSkip to conversation

staging: dgnc: add identifiers to function parameters

PATCH New Ashish Kalra 1 participant 1 message Dec 1, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: dgnc: add identifiers to function parameters

Fix checkpatch.pl warnings of the form "function definition argument 'foo' should also have an identifier name".

---
 drivers/staging/dgnc/dgnc_driver.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/dgnc/dgnc_driver.h +2 -2
index efdb11a5e27f..924357120b0c 100644
@@ -88,12 +88,12 @@ struct board_ops {
 	void (*flush_uart_read)(struct channel_t *ch);
 	void (*disable_receiver)(struct channel_t *ch);
 	void (*enable_receiver)(struct channel_t *ch);
-	void (*send_break)(struct channel_t *ch, int);
+	void (*send_break)(struct channel_t *ch, int msec);
 	void (*send_start_character)(struct channel_t *ch);
 	void (*send_stop_character)(struct channel_t *ch);
 	void (*copy_data_from_queue_to_uart)(struct channel_t *ch);
 	uint (*get_uart_bytes_left)(struct channel_t *ch);
-	void (*send_immediate_char)(struct channel_t *ch, unsigned char);
+	void (*send_immediate_char)(struct channel_t *ch, unsigned char c);
 };
 
 /* Device flag definitions for bd_flags. */
Signature · 1 line
2.14.1