The device ID tables are used only within the driver, make them static so

that both of these drivers can exist in the same kernel.
This commit is contained in:
Ian Lepore 2018-07-29 16:55:28 +00:00
parent ccd6ac9f6e
commit 6dfd050075
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336869
2 changed files with 2 additions and 2 deletions

View File

@ -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 },

View File

@ -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},
};