diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c index 8430ea60d26..960f93948e7 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 cd2c69a12d6..3ec4b12be95 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}, };