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

staging: dgnc: Fix typo in staging/dgnc

Correct spelling typo in comments

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
79e30af2 30765436

+7 -7
+1 -1
drivers/staging/dgnc/dgnc_driver.h
··· 45 45 /* 46 46 * Driver identification, error and debugging statments 47 47 * 48 - * In theory, you can change all occurances of "digi" in the next 48 + * In theory, you can change all occurrences of "digi" in the next 49 49 * three lines, and the driver printk's will all automagically change. 50 50 * 51 51 * APR((fmt, args, ...)); Always prints message
+1 -1
drivers/staging/dgnc/dgnc_neo.c
··· 1111 1111 * Why would I check EVERY possibility of type of 1112 1112 * interrupt, when we know its TXRDY??? 1113 1113 * Becuz for some reason, even tho we got triggered for TXRDY, 1114 - * it seems to be occassionally wrong. Instead of TX, which 1114 + * it seems to be occasionally wrong. Instead of TX, which 1115 1115 * it should be, I was getting things like RXDY too. Weird. 1116 1116 */ 1117 1117 neo_parse_isr(brd, port);
+1 -1
drivers/staging/dgnc/dgnc_neo.h
··· 47 47 u8 fctr; /* WR FCTR - Feature Control Reg */ 48 48 u8 efr; /* WR EFR - Enhanced Function Reg */ 49 49 u8 tfifo; /* WR TXCNT/TXTRG - Transmit FIFO Reg */ 50 - u8 rfifo; /* WR RXCNT/RXTRG - Recieve FIFO Reg */ 50 + u8 rfifo; /* WR RXCNT/RXTRG - Receive FIFO Reg */ 51 51 u8 xoffchar1; /* WR XOFF 1 - XOff Character 1 Reg */ 52 52 u8 xoffchar2; /* WR XOFF 2 - XOff Character 2 Reg */ 53 53 u8 xonchar1; /* WR XON 1 - Xon Character 1 Reg */
+2 -2
drivers/staging/dgnc/dgnc_tty.c
··· 267 267 268 268 /* 269 269 * If we're doing transparent print, we have to do all of the above 270 - * again, seperately so we don't get the LD confused about what major 270 + * again, separately so we don't get the LD confused about what major 271 271 * we are when we get into the dgnc_tty_open() routine. 272 272 */ 273 273 brd->PrintDriver.magic = TTY_DRIVER_MAGIC; ··· 286 286 287 287 /* 288 288 * The kernel wants space to store pointers to 289 - * tty_struct's and termios's. Must be seperate from 289 + * tty_struct's and termios's. Must be separated from 290 290 * the Serial Driver so we don't get confused 291 291 */ 292 292 brd->PrintDriver.ttys = kzalloc(brd->maxports * sizeof(struct tty_struct *), GFP_KERNEL);
+2 -2
drivers/staging/dgnc/digi.h
··· 201 201 unsigned int shrink_buf_vaddr; /* Virtual address of board */ 202 202 unsigned int shrink_buf_phys; /* Physical address of board */ 203 203 unsigned int shrink_buf_bseg; /* Amount of board memory */ 204 - unsigned int shrink_buf_hseg; /* '186 Begining of Dual-Port */ 204 + unsigned int shrink_buf_hseg; /* '186 Beginning of Dual-Port */ 205 205 206 - unsigned int shrink_buf_lseg; /* '186 Begining of freed memory */ 206 + unsigned int shrink_buf_lseg; /* '186 Beginning of freed memory */ 207 207 unsigned int shrink_buf_mseg; /* Linear address from start of 208 208 dual-port were freed memory 209 209 begins, host viewpoint. */