提交 ec829234 编写于 作者: B Ben Dooks

[ARM] S3C24XX: Fix nor-simtec driver sparse errors

Fix the following sparse errors in arch/arm/mach-s3c2410/nor-simtec.c:

53:27: warning: symbol 'simtec_nor_pdata' was not declared. Should it be static?
77:13: warning: symbol 'nor_simtec_init' was not declared. Should it be static?
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 b8e6c91c
......@@ -30,6 +30,7 @@
#include <mach/bast-map.h>
#include <mach/bast-cpld.h>
#include "nor-simtec.h"
static void simtec_nor_vpp(struct map_info *map, int vpp)
{
......@@ -50,7 +51,7 @@ static void simtec_nor_vpp(struct map_info *map, int vpp)
local_irq_restore(flags);
}
struct physmap_flash_data simtec_nor_pdata = {
static struct physmap_flash_data simtec_nor_pdata = {
.width = 2,
.set_vpp = simtec_nor_vpp,
.nr_parts = 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册