summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-15 17:39:23 -0800
committerGary King <gking@nvidia.com>2009-12-15 19:51:30 -0800
commit95c73b3400734b6e7e35f4877bafa52ecffe6071 (patch)
treea9f9f80409a06a6b72d669bd074021783f6da295 /drivers
parent75d591d2b82257115b1bb75dbbbd55a5ba982457 (diff)
rtc: tegra RTC driver build fixes
source was moved to rtc-tegra-odm.c, but the Makefile wasn't updated include tegra_devices.h in source code
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/Makefile2
-rw-r--r--drivers/rtc/rtc-tegra-odm.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index 652a6407de46..86f03f200a0f 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -77,4 +77,4 @@ obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
-obj-$(CONFIG_RTC_DRV_TEGRA_ODM) += rtc-tegra.o
+obj-$(CONFIG_RTC_DRV_TEGRA_ODM) += rtc-tegra-odm.o
diff --git a/drivers/rtc/rtc-tegra-odm.c b/drivers/rtc/rtc-tegra-odm.c
index 1fd2d681b27e..49a48c60fc84 100644
--- a/drivers/rtc/rtc-tegra-odm.c
+++ b/drivers/rtc/rtc-tegra-odm.c
@@ -29,6 +29,7 @@
#include <linux/rtc.h>
#include <linux/bcd.h>
#include <linux/platform_device.h>
+#include <linux/tegra_devices.h>
#include <nvodm_pmu.h>