sh: unexport register_trapped_io and match_trapped_io_handler
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jul 2020 12:18:53 +0000 (14:18 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:16 +0000 (22:05 -0400)
Both functions are only used by compiled in core code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/kernel/io_trapped.c

index 037aab2..004ad01 100644 (file)
@@ -102,7 +102,6 @@ int register_trapped_io(struct trapped_io *tiop)
        pr_warn("unable to install trapped io filter\n");
        return -1;
 }
-EXPORT_SYMBOL_GPL(register_trapped_io);
 
 void __iomem *match_trapped_io_handler(struct list_head *list,
                                       unsigned long offset,
@@ -131,7 +130,6 @@ void __iomem *match_trapped_io_handler(struct list_head *list,
        spin_unlock_irqrestore(&trapped_lock, flags);
        return NULL;
 }
-EXPORT_SYMBOL_GPL(match_trapped_io_handler);
 
 static struct trapped_io *lookup_tiop(unsigned long address)
 {