[PATCH 1/7] soc: tegra: Add missing include linux/types.h

Ezequiel Garcia
2015-02-25T11:47:59Z

The soc/tegra/fuse.h header makes use of kernel-specific types (u32, u8) and
therefore it needs a linux/types.h include.

Cc: Thierry Reding <treding@nvidia.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
---
include/soc/tegra/fuse.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
index b5f7b5f..8459008 100644
--- a/include/soc/tegra/fuse.h
+++ b/include/soc/tegra/fuse.h
@@ -28,6 +28,8 @@

#ifndef __ASSEMBLY__

+#include <linux/types.h>
+
u32 tegra_read_chipid(void);
u8 tegra_get_chip_id(void);

--
2.3.0