aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/flash
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2018-07-29 16:55:28 +0000
committerIan Lepore <ian@FreeBSD.org>2018-07-29 16:55:28 +0000
commit6dfd050075216be8538ae375a22d30db72916f7e (patch)
treef50205991e485cb0f084bee03e5e6572aa1851b5 /sys/dev/flash
parentccd6ac9f6e5c1f92c0ce92de1f037a1b5d7716cb (diff)
Notes
Diffstat (limited to 'sys/dev/flash')
-rw-r--r--sys/dev/flash/mx25l.c2
-rw-r--r--sys/dev/flash/n25q.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c
index 8430ea60d26c..960f93948e7f 100644
--- a/sys/dev/flash/mx25l.c
+++ b/sys/dev/flash/mx25l.c
@@ -116,7 +116,7 @@ static void mx25l_strategy(struct bio *bp);
static int mx25l_getattr(struct bio *bp);
static void mx25l_task(void *arg);
-struct mx25l_flash_ident flash_devices[] = {
+static struct mx25l_flash_ident flash_devices[] = {
{ "en25f32", 0x1c, 0x3116, 64 * 1024, 64, FL_NONE },
{ "en25p32", 0x1c, 0x2016, 64 * 1024, 64, FL_NONE },
{ "en25p64", 0x1c, 0x2017, 64 * 1024, 128, FL_NONE },
diff --git a/sys/dev/flash/n25q.c b/sys/dev/flash/n25q.c
index cd2c69a12d65..3ec4b12be954 100644
--- a/sys/dev/flash/n25q.c
+++ b/sys/dev/flash/n25q.c
@@ -139,7 +139,7 @@ static void n25q_strategy(struct bio *bp);
static int n25q_getattr(struct bio *bp);
static void n25q_task(void *arg);
-struct n25q_flash_ident flash_devices[] = {
+static struct n25q_flash_ident flash_devices[] = {
{ "n25q00", 0x20, 0xbb21, (64 * 1024), 2048, FL_ENABLE_4B_ADDR},
};