summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-04-13 05:15:33 +0300
committerRamon Fried <ramon@neureality.ai>2022-04-13 15:13:54 +0300
commit1494a4aacef17a3fc94847104e98d083da7659c9 (patch)
tree9ceb0736da5259ecd6d9432d9db166bbea759dac /include
parent3928055e4fd2d2b00cacadebee6233e869eadbfc (diff)
downloadu-boot-1494a4aacef17a3fc94847104e98d083da7659c9.tar.xz
net: dm9000: Drop dm9000.h and staticize SROM access
Dispose of dm9000.h because none of the function prototypes declared in it are called anywhere in the codebase. Staticize dm9000_read_srom_word() because it is now called only from within the dm9000 driver. Drop dm9000_write_srom_word() because it is no longer used. Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dm9000.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/dm9000.h b/include/dm9000.h
deleted file mode 100644
index f780e513f6..0000000000
--- a/include/dm9000.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * NOTE: DAVICOM DM9000 ethernet driver interface
- *
- * Authors: Remy Bohmer <linux@bohmer.net>
- */
-#ifndef __DM9000_H__
-#define __DM9000_H__
-
-/****************** function prototypes **********************/
-#if !defined(CONFIG_DM9000_NO_SROM)
-void dm9000_write_srom_word(int offset, u16 val);
-void dm9000_read_srom_word(int offset, u8 *to);
-#endif
-
-#endif /* __DM9000_H__ */