ARM: bcm2835: add mutual inclusion protection
authorAlexander Aring <alex.aring@gmail.com>
Thu, 22 Oct 2015 18:46:05 +0000 (20:46 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sat, 24 Oct 2015 20:15:58 +0000 (13:15 -0700)
This patch adds mutual inclusion protection for the rpi firmware header.

Cc: Eric Anholt <eric@anholt.net>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
include/soc/bcm2835/raspberrypi-firmware.h

index 9d9efb7a43c398774296b4d0d84cd40b7ded2956..c07d74aa39bfa82b5c1da19bb01294ee48310ea4 100644 (file)
@@ -6,6 +6,9 @@
  * published by the Free Software Foundation.
  */
 
+#ifndef __SOC_RASPBERRY_FIRMWARE_H__
+#define __SOC_RASPBERRY_FIRMWARE_H__
+
 #include <linux/types.h>
 #include <linux/of_device.h>
 
@@ -113,3 +116,5 @@ int rpi_firmware_property(struct rpi_firmware *fw,
 int rpi_firmware_property_list(struct rpi_firmware *fw,
                               void *data, size_t tag_size);
 struct rpi_firmware *rpi_firmware_get(struct device_node *firmware_node);
+
+#endif /* __SOC_RASPBERRY_FIRMWARE_H__ */