blob: 0caeb11352758f9e11a9b74cb8f5bebc17299894 [file] [log] [blame]
Laurent Pinchart4b1a5772015-01-21 00:55:57 +02001/*
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
23struct isp1760_device {
24 void __iomem *regs;
25
26 struct isp1760_hcd hcd;
27};
28
29int isp1760_register(struct resource *mem, int irq, unsigned long irqflags,
30 struct device *dev, unsigned int devflags);
31void isp1760_unregister(struct device *dev);
32
33#endif