Commit 2539fc0c authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman
Browse files

staging: dgnc: remove double underscore



Pre-processor header guards use double underscore, typically kernel
code uses single underscore when defining header guards. 'endif'
statement should include what is ending as a comment string.

Remove double underscore, add comment string to 'endif'

Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e14047e4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
 * PURPOSE.  See the GNU General Public License for more details.
 */

#ifndef __DGNC_CLS_H
#define __DGNC_CLS_H
#ifndef _DGNC_CLS_H
#define _DGNC_CLS_H

/**
 * struct cls_uart_struct - Per channel/port Classic UART.
@@ -73,4 +73,4 @@ struct cls_uart_struct {

extern struct board_ops dgnc_cls_ops;

#endif
#endif	/* _DGNC_CLS_H */
+3 −3
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
 * PURPOSE.  See the GNU General Public License for more details.
 */

#ifndef __DGNC_DRIVER_H
#define __DGNC_DRIVER_H
#ifndef _DGNC_DRIVER_H
#define _DGNC_DRIVER_H

#include <linux/types.h>
#include <linux/tty.h>
@@ -428,4 +428,4 @@ extern spinlock_t dgnc_poll_lock; /* Poll scheduling lock */
extern uint		dgnc_num_boards;	/* Total number of boards */
extern struct dgnc_board *dgnc_board[MAXBOARDS];/* Array of boards */

#endif
#endif	/* _DGNC_DRIVER_H */
+4 −3
Original line number Diff line number Diff line
@@ -13,13 +13,14 @@
 * PURPOSE.  See the GNU General Public License for more details.
 */

#ifndef __DGNC_MGMT_H
#define __DGNC_MGMT_H
#ifndef _DGNC_MGMT_H
#define _DGNC_MGMT_H

#define MAXMGMTDEVICES 8

int dgnc_mgmt_open(struct inode *inode, struct file *file);
int dgnc_mgmt_close(struct inode *inode, struct file *file);
long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
#endif

#endif	/* _DGNC_MGMT_H */
+3 −3
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
 * PURPOSE.  See the GNU General Public License for more details.
 */

#ifndef __DGNC_NEO_H
#define __DGNC_NEO_H
#ifndef _DGNC_NEO_H
#define _DGNC_NEO_H

#include "dgnc_driver.h"

@@ -172,4 +172,4 @@ struct neo_uart_struct {

extern struct board_ops dgnc_neo_ops;

#endif
#endif	/* _DGNC_NEO_H */
+3 −3
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@
 * PURPOSE.  See the GNU General Public License for more details.
 */

#ifndef __DGNC_PCI_H
#define __DGNC_PCI_H
#ifndef _DGNC_PCI_H
#define _DGNC_PCI_H

/* Maximum number of PCI boards */
#define PCIMAX 32
@@ -66,4 +66,4 @@
/* Size of memory (2MB) */
#define PCI_MEM_SIZE				0x1000

#endif
#endif	/* _DGNC_PCI_H */
Loading