summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-03-07 15:14:37 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-03-07 15:14:37 +0000
commitab4947645d8d8e43adbdf5ee1685d8bec80f4cda (patch)
treefb9490fca765556f0f9c18bf0aba7faf1536bdcb
parent139e84c0e994542300f7634715c63b5b0f09a8f3 (diff)
autoconf.h is inlcuded by Kbuild at the command-line.
No need to explicitly include it. Also note that <linux/autoconf.h> is invalid as of 2.6.33 . It is now <generated/autoconf.h> (but anyway, should not be #include-d directly). Backporting from trunk to 2.2 (closes issue #16752). Merged revisions 7732 via svnmerge from http://svn.digium.com/svn/dahdi/linux/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.2@8267 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wcb4xxp/base.c1
-rw-r--r--drivers/dahdi/wct4xxp/vpm450m.c2
-rw-r--r--include/dahdi/dahdi_config.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dahdi/wcb4xxp/base.c b/drivers/dahdi/wcb4xxp/base.c
index 965eed9..df730e0 100644
--- a/drivers/dahdi/wcb4xxp/base.c
+++ b/drivers/dahdi/wcb4xxp/base.c
@@ -20,7 +20,6 @@
* this program for more details.
*/
-#include <linux/autoconf.h>
#include <linux/init.h>
#include <linux/kernel.h> /* printk() */
diff --git a/drivers/dahdi/wct4xxp/vpm450m.c b/drivers/dahdi/wct4xxp/vpm450m.c
index 0bfef27..4bb478f 100644
--- a/drivers/dahdi/wct4xxp/vpm450m.c
+++ b/drivers/dahdi/wct4xxp/vpm450m.c
@@ -30,8 +30,6 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
-#else
-#include <linux/autoconf.h>
#endif
/* API for Octasic access */
diff --git a/include/dahdi/dahdi_config.h b/include/dahdi/dahdi_config.h
index 68547f1..9970208 100644
--- a/include/dahdi/dahdi_config.h
+++ b/include/dahdi/dahdi_config.h
@@ -23,8 +23,6 @@
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
-#else
-#include <linux/autoconf.h>
#endif
#endif