summaryrefslogtreecommitdiff
path: root/drivers/rtc/Makefile
diff options
context:
space:
mode:
authorDmitriy Korovkin <dmitriy.korovkin@windriver.com>2016-10-14 11:48:11 -0400
committerAnas Nashif <nashif@linux.intel.com>2016-10-22 01:27:02 +0000
commit792140a5023d56d74ef7a5843d9db6a02256af66 (patch)
treec97337a58a507dee3434bed829f8498b4760c3bc /drivers/rtc/Makefile
parentdc76dbf2ef70428b9ab361bc239b752fead01790 (diff)
drivers: Fix type problems when building QMSI rtc driver
In order to avoid type conflicts make sure that ISR_HANDLED is defined. This makes the ISR the correct type. Make sure that the pointer for the unused argument for ISR is of the proper type (NULL). Change-Id: Ia1873f32d2e2174085f929e318a780a1b2574785 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r--drivers/rtc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index 19db6287b..9c6ff3c69 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -1 +1,2 @@
obj-$(CONFIG_RTC_QMSI) += rtc_qmsi.o
+ccflags-$(CONFIG_RTC_QMSI) += -DENABLE_EXTERNAL_ISR_HANDLING