summaryrefslogtreecommitdiff
path: root/target/linux/amazon/files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/amazon/files')
-rw-r--r--target/linux/amazon/files/arch/mips/amazon/Kconfig4
-rw-r--r--target/linux/amazon/files/drivers/net/admmod.c (renamed from target/linux/amazon/files/drivers/char/admmod.c)2
2 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/amazon/files/arch/mips/amazon/Kconfig b/target/linux/amazon/files/arch/mips/amazon/Kconfig
index 179e35efd2..63055fc2aa 100644
--- a/target/linux/amazon/files/arch/mips/amazon/Kconfig
+++ b/target/linux/amazon/files/arch/mips/amazon/Kconfig
@@ -26,6 +26,10 @@ config AMAZON_MTD
bool "Amazon MTD map"
default y
+config ADM6996_SUPPORT
+ bool "Amazon ADM6996 Switch driver"
+ default y
+
choice
prompt "Flash Size"
depends on AMAZON_MTD
diff --git a/target/linux/amazon/files/drivers/char/admmod.c b/target/linux/amazon/files/drivers/net/admmod.c
index 0229f53f55..70ba1496a1 100644
--- a/target/linux/amazon/files/drivers/char/admmod.c
+++ b/target/linux/amazon/files/drivers/net/admmod.c
@@ -928,7 +928,6 @@ static int ifx_sw_init(void)
int adm_open(struct inode *node, struct file *filp)
{
- MOD_INC_USE_COUNT;
return 0;
}
@@ -945,7 +944,6 @@ ssize_t adm_write(struct file *filep, const char *buf, size_t count, loff_t *ppo
/* close */
int adm_release(struct inode *inode, struct file *filp)
{
- MOD_DEC_USE_COUNT;
return 0;
}