Fix gpio includes of mt8173 platform to avoid collision.
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 17 Feb 2016 11:00:37 +0000 (11:00 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 17 Feb 2016 17:23:46 +0000 (17:23 +0000)
All files including plat/mediatek/mt8173/drivers/gpio/gpio.h were
using system includes instead of user includes, which may cause the
wrong version of the header to be included. Said includes have been
changed to user includes to make sure that the included file is the
wanted one.

Change-Id: I29bdfe96fbd9a7900875e2357bbb43f3ea431fa5

plat/mediatek/mt8173/drivers/gpio/gpio.c
plat/mediatek/mt8173/plat_pm.c

index 20473b9194279fc145657a899cc9ca3760f3b1c3..f19c9315a8a26b73f4244250b2ef8d3bdc9fec46 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <debug.h>
-#include <gpio.h>
 #include <mmio.h>
 #include <mt8173_def.h>
 #include <pmic_wrap_init.h>
+#include "gpio.h"
 
 enum {
        MAX_GPIO_REG_BITS = 16,
index f28f8edcd4aefe5eeaddc082dfcc890b26d5e9b5..be33c9114993555c98cf69580af94b8034a83c4d 100644 (file)
@@ -36,7 +36,6 @@
 #include <console.h>
 #include <debug.h>
 #include <errno.h>
-#include <gpio.h>
 #include <mcucfg.h>
 #include <mmio.h>
 #include <mt8173_def.h>
@@ -49,6 +48,7 @@
 #include <spm_hotplug.h>
 #include <spm_mcdi.h>
 #include <spm_suspend.h>
+#include "drivers/gpio/gpio.h"
 
 struct core_context {
        unsigned long timer_data[8];