|
@@ -17,16 +17,17 @@
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
*/
|
|
|
-#include <linux/kernel.h>
|
|
|
+
|
|
|
+#include <linux/delay.h>
|
|
|
#include <linux/init.h>
|
|
|
-#include <linux/module.h>
|
|
|
-#include <linux/slab.h>
|
|
|
-#include <linux/irq.h>
|
|
|
#include <linux/io.h>
|
|
|
-#include <linux/delay.h>
|
|
|
-#include <linux/rtc.h>
|
|
|
+#include <linux/irq.h>
|
|
|
+#include <linux/kernel.h>
|
|
|
+#include <linux/module.h>
|
|
|
#include <linux/platform_device.h>
|
|
|
#include <linux/pm.h>
|
|
|
+#include <linux/rtc.h>
|
|
|
+#include <linux/slab.h>
|
|
|
|
|
|
/* set to 1 = busy every eight 32kHz clocks during copy of sec+msec to AHB */
|
|
|
#define TEGRA_RTC_REG_BUSY 0x004
|