Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Alexander Aring and committed by
Florian Fainelli
16134b3b 4e3d6065

+5
+5
include/soc/bcm2835/raspberrypi-firmware.h
··· 6 6 * published by the Free Software Foundation. 7 7 */ 8 8 9 + #ifndef __SOC_RASPBERRY_FIRMWARE_H__ 10 + #define __SOC_RASPBERRY_FIRMWARE_H__ 11 + 9 12 #include <linux/types.h> 10 13 #include <linux/of_device.h> 11 14 ··· 116 113 int rpi_firmware_property_list(struct rpi_firmware *fw, 117 114 void *data, size_t tag_size); 118 115 struct rpi_firmware *rpi_firmware_get(struct device_node *firmware_node); 116 + 117 + #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */