summaryrefslogtreecommitdiffstats
path: root/mtdutils/rk3xhack.h
diff options
context:
space:
mode:
authorKra1o5 <kra1o5x@gmail.com>2014-06-20 19:06:06 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-06-30 19:02:47 +0200
commit3167936cf0ed5ca3ebbdbfba8b63b2905c506633 (patch)
tree69e22e13db687041a9a999d11440da8834a340eb /mtdutils/rk3xhack.h
parenton stock android, pthread_cancel and phtread_setcancelstate doesn't exist (diff)
downloadandroid_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.tar
android_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.tar.gz
android_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.tar.bz2
android_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.tar.lz
android_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.tar.xz
android_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.tar.zst
android_bootable_recovery-3167936cf0ed5ca3ebbdbfba8b63b2905c506633.zip
Diffstat (limited to '')
-rw-r--r--mtdutils/rk3xhack.h (renamed from mtdutils/rk30hack.h)8
1 files changed, 4 insertions, 4 deletions
diff --git a/mtdutils/rk30hack.h b/mtdutils/rk3xhack.h
index d492793ff..3cc16e49e 100644
--- a/mtdutils/rk30hack.h
+++ b/mtdutils/rk3xhack.h
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/* This is a hack for Rockchip rk30xx based devices. The problem is that
+/* This is a hack for Rockchip rk3x based devices. The problem is that
* the MEMERASE ioctl is failing (hangs and never returns) in their kernel.
* The sources are not fully available, so fixing it in the rk30xxnand_ko driver
* is not possible.
@@ -26,12 +26,12 @@
* the recovery code.
*/
-#ifndef __RK30_HACK_H__
-#define __RK30_HACK_H__
+#ifndef __RK3X_HACK_H__
+#define __RK3X_HACK_H__
#include <sys/types.h> // for size_t, etc.
// write zeroes to fd at position pos
int zero_out(int fd, off_t pos, ssize_t length);
-#endif//__RK30_HACK_H__
+#endif//__RK3X_HACK_H__