@@ -50,8 +50,6 @@ extern void debug_ll_io_init(void);
static inline void debug_ll_io_init(void) {}
#endif
-struct mem_type;
-extern const struct mem_type *get_mem_type(unsigned int type);
#else
#define iotable_init(map,num) do { } while (0)
#define vm_reserve_area_early(a,s,c) do { } while (0)
@@ -350,7 +350,6 @@ const struct mem_type *get_mem_type(unsigned int type)
{
return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL;
}
-EXPORT_SYMBOL(get_mem_type);
static pte_t *(*pte_offset_fixmap)(pmd_t *dir, unsigned long addr);
get_mem_type is only used pci_remap_iospace and ioremap, no need to export it. Signed-off-by: Christoph Hellwig <hch@lst.de> --- arch/arm/include/asm/mach/map.h | 2 -- arch/arm/mm/mmu.c | 1 - 2 files changed, 3 deletions(-)