Sfoglia il codice sorgente

[PARISC] Prevent multiple includes of asm-parisc/parisc-device.h

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Kyle McMartin 18 anni fa
parent
commit
8f611c453c
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      include/asm-parisc/parisc-device.h

+ 5 - 0
include/asm-parisc/parisc-device.h

@@ -1,3 +1,6 @@
+#ifndef _ASM_PARISC_PARISC_DEVICE_H_
+#define _ASM_PARISC_PARISC_DEVICE_H_
+
 #include <linux/device.h>
 
 struct parisc_device {
@@ -57,3 +60,5 @@ parisc_get_drvdata(struct parisc_device *d)
 }
 
 extern struct bus_type parisc_bus_type;
+
+#endif /*_ASM_PARISC_PARISC_DEVICE_H_*/