Commit 16134b3b authored by Alexander Aring's avatar Alexander Aring Committed by Florian Fainelli

ARM: bcm2835: add mutual inclusion protection

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: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 4e3d6065
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#ifndef __SOC_RASPBERRY_FIRMWARE_H__
#define __SOC_RASPBERRY_FIRMWARE_H__
#include <linux/types.h> #include <linux/types.h>
#include <linux/of_device.h> #include <linux/of_device.h>
...@@ -113,3 +116,5 @@ int rpi_firmware_property(struct rpi_firmware *fw, ...@@ -113,3 +116,5 @@ int rpi_firmware_property(struct rpi_firmware *fw,
int rpi_firmware_property_list(struct rpi_firmware *fw, int rpi_firmware_property_list(struct rpi_firmware *fw,
void *data, size_t tag_size); void *data, size_t tag_size);
struct rpi_firmware *rpi_firmware_get(struct device_node *firmware_node); struct rpi_firmware *rpi_firmware_get(struct device_node *firmware_node);
#endif /* __SOC_RASPBERRY_FIRMWARE_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment