devices.h 668 B

123456789101112131415161718192021222324
  1. /*
  2. * This program is free software; you can redistribute it and/or modify it
  3. * under the terms of the GNU General Public License version 2 as published
  4. * by the Free Software Foundation.
  5. *
  6. * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
  7. */
  8. #ifndef _LTQ_DEVICES_H__
  9. #define _LTQ_DEVICES_H__
  10. #include <lantiq_platform.h>
  11. #include <linux/mtd/physmap.h>
  12. #define IRQ_RES(resname, irq) \
  13. {.name = #resname, .start = (irq), .flags = IORESOURCE_IRQ}
  14. extern void ltq_register_nor(struct physmap_flash_data *data);
  15. extern void ltq_register_wdt(void);
  16. extern void ltq_register_asc(int port);
  17. extern void ltq_register_pci(struct ltq_pci_data *data);
  18. #endif