summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2003-09-25 12:40:42 -0400
committerJeff Garzik <jgarzik@redhat.com>2003-09-25 12:40:42 -0400
commitd766e943905846806d99545bb66a5fd8ef0cbe8f (patch)
tree5498df59eb459acefa9678b0de077bd69ff8fb8f /include/linux
parent98919de3eceb1d66b34eceaa276c5b6ef6e451fd (diff)
[PATCH] (3/4) baycom/hdlcdrv unregister
If baycom driver has never been opened, it will attempt to free an IRQ that it never registered when removed. The problem is that hdlcdrv does not keep track of open/close state.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hdlcdrv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hdlcdrv.h b/include/linux/hdlcdrv.h
index bad91ec22db5..f824d306b7c6 100644
--- a/include/linux/hdlcdrv.h
+++ b/include/linux/hdlcdrv.h
@@ -180,6 +180,7 @@ struct hdlcdrv_ops {
struct hdlcdrv_state {
int magic;
+ int opened;
const struct hdlcdrv_ops *ops;