treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / um / include / shared / irq_kern.h
blob7cd1a10c6244ceb2b78d26b87ea1224c1631f14f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
4 */
6 #ifndef __IRQ_KERN_H__
7 #define __IRQ_KERN_H__
9 #include <linux/interrupt.h>
10 #include <asm/ptrace.h>
12 extern int um_request_irq(unsigned int irq, int fd, int type,
13 irq_handler_t handler,
14 unsigned long irqflags, const char * devname,
15 void *dev_id);
16 void um_free_irq(unsigned int irq, void *dev);
17 #endif