summaryrefslogtreecommitdiff
path: root/backport/compat/compat-3.8.c
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 14:48:31 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2019-02-22 15:26:14 +0100
commit515a1fa55cda2b1d952872e1786857481bd54fcc (patch)
tree4c66dd52c58f3d1da423a1ed7f92c4f720e24685 /backport/compat/compat-3.8.c
parentc956caceefd8e859c8b783dd13dad197dc1f7907 (diff)
backports: support 3.1 and 3.10 tegra kernels
Changes specific to vendor kernels Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'backport/compat/compat-3.8.c')
-rw-r--r--backport/compat/compat-3.8.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backport/compat/compat-3.8.c b/backport/compat/compat-3.8.c
index ff9cd493..21686cc3 100644
--- a/backport/compat/compat-3.8.c
+++ b/backport/compat/compat-3.8.c
@@ -356,6 +356,8 @@ bool hid_ignore(struct hid_device *hdev)
}
EXPORT_SYMBOL_GPL(hid_ignore);
+/* backported to our kernel */
+#if 0
/**
* prandom_bytes - get the requested number of pseudo-random bytes
* @buf: where to copy the pseudo-random bytes to
@@ -386,6 +388,7 @@ void prandom_bytes(void *buf, int bytes)
}
}
EXPORT_SYMBOL_GPL(prandom_bytes);
+#endif
#ifdef CONFIG_OF
/**