瀏覽代碼

Fix the teehbr_read function prototype

A "void" was missing inside brackets.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Catalin Marinas 16 年之前
父節點
當前提交
7f1fd31db1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/kernel/thumbee.c

+ 1 - 1
arch/arm/kernel/thumbee.c

@@ -25,7 +25,7 @@
 /*
 /*
  * Access to the ThumbEE Handler Base register
  * Access to the ThumbEE Handler Base register
  */
  */
-static inline unsigned long teehbr_read()
+static inline unsigned long teehbr_read(void)
 {
 {
 	unsigned long v;
 	unsigned long v;
 	asm("mrc	p14, 6, %0, c1, c0, 0\n" : "=r" (v));
 	asm("mrc	p14, 6, %0, c1, c0, 0\n" : "=r" (v));