]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-x86/io_32.h
dmi: clean-up dmi helper declarations
[karo-tx-linux.git] / include / asm-x86 / io_32.h
index 509045f5fda29ecc4b4216ff0e2d0825695f34d9..049e81e797a0919e8090135c5b16fe5b99a32c5e 100644 (file)
 
 #include <linux/vmalloc.h>
 
-/*
- * Convert a physical pointer to a virtual kernel pointer for /dev/mem
- * access
- */
-#define xlate_dev_mem_ptr(p)   __va(p)
-
 /*
  * Convert a virtual cached pointer to an uncached pointer
  */
@@ -139,11 +133,6 @@ extern void *early_ioremap(unsigned long offset, unsigned long size);
 extern void early_iounmap(void *addr, unsigned long size);
 extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys);
 
-/* Use early IO mappings for DMI because it's initialized early */
-#define dmi_ioremap early_ioremap
-#define dmi_iounmap early_iounmap
-#define dmi_alloc alloc_bootmem
-
 /*
  * ISA I/O bus memory addresses are 1:1 with the physical address.
  */