]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: generic.h: Add include safe guards
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 1 Jul 2014 09:33:15 +0000 (11:33 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 2 Sep 2014 16:52:17 +0000 (18:52 +0200)
commitb62489dd6d4ba79e995ee831bf3ffc2bdbb72bda
tree0e216fba48ea74fa72c93280b31ffa4bce13ad98
parenta1bc0d45dda4b77b72efadf39b0f6e389a031432
ARM: at91: generic.h: Add include safe guards

The generic.h header file doesn't have any safe guards against multiple
inclusion. It only worked so far because all the symbols defined in it were
extern, but this is a rather fragile assumption.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/generic.h