Equalized defines against duplicated header inclusion.
This commit is contained in:
parent
8887d6d26d
commit
1d70bd0145
|
|
@ -46,8 +46,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _ETHERCAT_DEVICE_H_
|
||||
#define _ETHERCAT_DEVICE_H_
|
||||
#ifndef __ECDEV_H__
|
||||
#define __ECDEV_H__
|
||||
|
||||
#include <linux/netdevice.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_GLOBALS_
|
||||
#define _EC_GLOBALS_
|
||||
#ifndef __EC_GLOBALS_H__
|
||||
#define __EC_GLOBALS_H__
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_DATAGRAM_H_
|
||||
#define _EC_DATAGRAM_H_
|
||||
#ifndef __EC_DATAGRAM_H__
|
||||
#define __EC_DATAGRAM_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/time.h>
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_DEVICE_H_
|
||||
#define _EC_DEVICE_H_
|
||||
#ifndef __EC_DEVICE_H__
|
||||
#define __EC_DEVICE_H__
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_DOMAIN_H_
|
||||
#define _EC_DOMAIN_H_
|
||||
#ifndef __EC_DOMAIN_H__
|
||||
#define __EC_DOMAIN_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/kobject.h>
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_FMMU_CONFIG_H_
|
||||
#define _EC_FMMU_CONFIG_H_
|
||||
#ifndef __EC_FMMU_CONFIG_H__
|
||||
#define __EC_FMMU_CONFIG_H__
|
||||
|
||||
#include "../include/ecrt.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_CHANGE__
|
||||
#define __EC_FSM_CHANGE__
|
||||
#ifndef __EC_FSM_CHANGE_H__
|
||||
#define __EC_FSM_CHANGE_H__
|
||||
|
||||
#include "globals.h"
|
||||
#include "../include/ecrt.h"
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_COE__
|
||||
#define __EC_FSM_COE__
|
||||
#ifndef __EC_FSM_COE_H__
|
||||
#define __EC_FSM_COE_H__
|
||||
|
||||
#include "globals.h"
|
||||
#include "../include/ecrt.h"
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_COE_MAP__
|
||||
#define __EC_FSM_COE_MAP__
|
||||
#ifndef __EC_FSM_COE_MAP_H__
|
||||
#define __EC_FSM_COE_MAP_H__
|
||||
|
||||
#include "globals.h"
|
||||
#include "datagram.h"
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_MASTER__
|
||||
#define __EC_FSM_MASTER__
|
||||
#ifndef __EC_FSM_MASTER_H__
|
||||
#define __EC_FSM_MASTER_H__
|
||||
|
||||
#include "../include/ecrt.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_FSM_PDO_ASSIGN_H_
|
||||
#define _EC_FSM_PDO_ASSIGN_H_
|
||||
#ifndef __EC_FSM_PDO_ASSIGN_H__
|
||||
#define __EC_FSM_PDO_ASSIGN_H__
|
||||
|
||||
#include "../include/ecrt.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* $Id$
|
||||
* $Id: fsm_pdo_config.h 1069 2008-03-03 16:22:39Z fp $
|
||||
*
|
||||
* Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH
|
||||
*
|
||||
|
|
@ -37,8 +37,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_PDO_MAPPING__
|
||||
#define __EC_FSM_PDO_MAPPING__
|
||||
#ifndef __EC_FSM_PDO_MAPPING_H__
|
||||
#define __EC_FSM_PDO_MAPPING_H__
|
||||
|
||||
#include "globals.h"
|
||||
#include "../include/ecrt.h"
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_SII__
|
||||
#define __EC_FSM_SII__
|
||||
#ifndef __EC_FSM_SII_H__
|
||||
#define __EC_FSM_SII_H__
|
||||
|
||||
#include "globals.h"
|
||||
#include "../include/ecrt.h"
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_SLAVE_CONFIG__
|
||||
#define __EC_FSM_SLAVE_CONFIG__
|
||||
#ifndef __EC_FSM_SLAVE_CONFIG_H__
|
||||
#define __EC_FSM_SLAVE_CONFIG_H__
|
||||
|
||||
#include "../include/ecrt.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef __EC_FSM_SLAVE_SCAN__
|
||||
#define __EC_FSM_SLAVE_SCAN__
|
||||
#ifndef __EC_FSM_SLAVE_SCAN_H__
|
||||
#define __EC_FSM_SLAVE_SCAN_H__
|
||||
|
||||
#include "../include/ecrt.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_MASTER_GLOBALS_
|
||||
#define _EC_MASTER_GLOBALS_
|
||||
#ifndef __EC_MASTER_GLOBALS_H__
|
||||
#define __EC_MASTER_GLOBALS_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_MAILBOX_H_
|
||||
#define _EC_MAILBOX_H_
|
||||
#ifndef __EC_MAILBOX_H__
|
||||
#define __EC_MAILBOX_H__
|
||||
|
||||
#include "slave.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_MASTER_H_
|
||||
#define _EC_MASTER_H_
|
||||
#ifndef __EC_MASTER_H__
|
||||
#define __EC_MASTER_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/sysfs.h>
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_PDO_H_
|
||||
#define _EC_PDO_H_
|
||||
#ifndef __EC_PDO_H__
|
||||
#define __EC_PDO_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_PDO_LIST_H_
|
||||
#define _EC_PDO_LIST_H_
|
||||
#ifndef __EC_PDO_LIST_H__
|
||||
#define __EC_PDO_LIST_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_SLAVE_H_
|
||||
#define _EC_SLAVE_H_
|
||||
#ifndef __EC_SLAVE_H__
|
||||
#define __EC_SLAVE_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/kobject.h>
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_SLAVE_CONFIG_H_
|
||||
#define _EC_SLAVE_CONFIG_H_
|
||||
#ifndef __EC_SLAVE_CONFIG_H__
|
||||
#define __EC_SLAVE_CONFIG_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/kobject.h>
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_SYNC_H_
|
||||
#define _EC_SYNC_H_
|
||||
#ifndef __EC_SYNC_H__
|
||||
#define __EC_SYNC_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _EC_XMLDEV_H_
|
||||
#define _EC_XMLDEV_H_
|
||||
#ifndef __EC_XMLDEV_H__
|
||||
#define __EC_XMLDEV_H__
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <linux/cdev.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue