summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2003-05-03 16:10:43 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-05-03 16:10:43 -0700
commit659a58e30b0f233f6fa0c3f9d6a295c08c56990f (patch)
treef3d202824322126dfa5a83242a42b8b3c1792f65 /include/linux
parent88827f0db6b93cdf9c3517272370711f096e0f4a (diff)
[PPP]: Module owners for ppp compressors.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ppp-comp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h
index 8de67f77dfb7..0841f8d31b59 100644
--- a/include/linux/ppp-comp.h
+++ b/include/linux/ppp-comp.h
@@ -42,6 +42,8 @@
#ifndef _NET_PPP_COMP_H
#define _NET_PPP_COMP_H
+struct module;
+
/*
* The following symbols control whether we include code for
* various compression methods.
@@ -106,6 +108,9 @@ struct compressor {
/* Return decompression statistics */
void (*decomp_stat) (void *state, struct compstat *stats);
+
+ /* Used in locking compressor modules */
+ struct module *owner;
};
/*