Laurent Pinchart | 4b1a577 | 2015-01-21 00:55:57 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Driver for the NXP ISP1760 chip |
| 3 | * |
| 4 | * Copyright 2014 Laurent Pinchart |
| 5 | * Copyright 2007 Sebastian Siewior |
| 6 | * |
| 7 | * Contacts: |
| 8 | * Sebastian Siewior <bigeasy@linutronix.de> |
| 9 | * Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| 10 | * |
| 11 | * This program is free software; you can redistribute it and/or |
| 12 | * modify it under the terms of the GNU General Public License |
| 13 | * version 2 as published by the Free Software Foundation. |
| 14 | */ |
| 15 | |
| 16 | #ifndef _ISP1760_CORE_H_ |
| 17 | #define _ISP1760_CORE_H_ |
| 18 | |
| 19 | #include <linux/ioport.h> |
| 20 | |
| 21 | #include "isp1760-hcd.h" |
| 22 | |
| 23 | struct isp1760_device { |
| 24 | void __iomem *regs; |
| 25 | |
| 26 | struct isp1760_hcd hcd; |
| 27 | }; |
| 28 | |
| 29 | int isp1760_register(struct resource *mem, int irq, unsigned long irqflags, |
| 30 | struct device *dev, unsigned int devflags); |
| 31 | void isp1760_unregister(struct device *dev); |
| 32 | |
| 33 | #endif |