diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-07-26 00:30:43 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-07-26 00:30:43 +0000 |
commit | b764ebded8f543d62e1a19463db7c2926b9b22e0 (patch) | |
tree | 60e0b36a1f89a6339bd3a357420c1f1152224a2a /include | |
parent | 113b9311ebca9311befbd017eb27f6a25949e6a6 (diff) |
dahdi: Move the 'owner' field from dahdi_span to dahdi_span_ops.
One more thing that can be moved out of the per-span structure.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8986 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/kernel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 4c17bfa..a33ca18 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -751,6 +751,8 @@ struct dahdi_count { #define DAHDI_FLAG_HDLC56 DAHDI_FLAG(HDLC56) struct dahdi_span_ops { + struct module *owner; /*!< Which module is exporting this span. */ + /* ==== Span Callback Operations ==== */ /*! Req: Set the requested chunk size. This is the unit in which you must report results for conferencing, etc */ @@ -829,7 +831,6 @@ struct dahdi_span_ops { struct dahdi_span { spinlock_t lock; - struct module *owner; /*!< Which module is exporting this span. */ char name[40]; /*!< Span name */ char desc[80]; /*!< Span description */ const char *spantype; /*!< span type in text form */ |