diff options
| author | Chas Williams <chas@cmf.nrl.navy.mil> | 2003-09-22 22:39:35 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2003-09-22 22:39:35 -0700 |
| commit | 9ca399c5774ffa81dfe45d722cc3daa6be4a9529 (patch) | |
| tree | 8b2f1f3fc1e6e2a447bc8b466b85947ed9fc56d0 /include | |
| parent | 6b9c2957dc873eb9218230539423e61083cdf9b5 (diff) | |
[ATM]: If CLIP is not enabled, try_atm_clp_ops() should always fail.
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/atmclip.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/atmclip.h b/include/net/atmclip.h index fdbbb71cdb0e..a9ec5e4fed66 100644 --- a/include/net/atmclip.h +++ b/include/net/atmclip.h @@ -67,7 +67,15 @@ struct atm_clip_ops { }; void atm_clip_ops_set(struct atm_clip_ops *); +#if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE) int try_atm_clip_ops(void); +#else +static inline int try_atm_clip_ops(void) +{ + return 0; +} +#endif + extern struct neigh_table *clip_tbl_hook; extern struct atm_clip_ops *atm_clip_ops; |
