24aff71fa8
This patch adds the wrappers for registering our platform devices. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2254/ Patchwork: https://patchwork.linux-mips.org/patch/2360/ Patchwork: https://patchwork.linux-mips.org/patch/2359/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
24 lines
668 B
C
24 lines
668 B
C
/*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*
|
|
* Copyright (C) 2010 John Crispin <blogic@openwrt.org>
|
|
*/
|
|
|
|
#ifndef _LTQ_DEVICES_H__
|
|
#define _LTQ_DEVICES_H__
|
|
|
|
#include <lantiq_platform.h>
|
|
#include <linux/mtd/physmap.h>
|
|
|
|
#define IRQ_RES(resname, irq) \
|
|
{.name = #resname, .start = (irq), .flags = IORESOURCE_IRQ}
|
|
|
|
extern void ltq_register_nor(struct physmap_flash_data *data);
|
|
extern void ltq_register_wdt(void);
|
|
extern void ltq_register_asc(int port);
|
|
extern void ltq_register_pci(struct ltq_pci_data *data);
|
|
|
|
#endif
|