diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-05-24 16:55:50 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-05-24 16:55:50 +0000 |
commit | cd4ec2cb17dcab53de54d450a25cc861013397b3 (patch) | |
tree | d7ee5b91dc264a854988dbfecc322cdaf562b876 /drivers/dahdi/hpec | |
parent | d1aeef7c54d40e39dfba4f3133b4c757b71dd7ed (diff) |
hpec: #include <linux/slab.h>
Fix the same issue as in r8550 , for dahdi_echocan_hpec.c:
With kernel 2.6.34 an explicit '#include <slab.h>' is required for
using kzalloc() and friends.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8680 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/hpec')
-rw-r--r-- | drivers/dahdi/hpec/dahdi_echocan_hpec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/hpec/dahdi_echocan_hpec.c b/drivers/dahdi/hpec/dahdi_echocan_hpec.c index 6a98d20..b6d49df 100644 --- a/drivers/dahdi/hpec/dahdi_echocan_hpec.c +++ b/drivers/dahdi/hpec/dahdi_echocan_hpec.c @@ -20,6 +20,7 @@ */ #include <linux/kernel.h> +#include <linux/slab.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/init.h> |