diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 20a1f35dc0d501a7fe1c6e703c010e080fe94d5b..3eff65d7a496058f8f9e22aab4e1b8ea1e39f9ae 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1396,6 +1396,7 @@ config RTC_DRV_COH901331
 config RTC_DRV_STMP
 	tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
 	depends on ARCH_MXS
+	select STMP_DEVICE
 	help
 	  If you say yes here you will get support for the onboard
 	  STMP3xxx/i.MX23/i.MX28 RTC.