summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-13 20:09:12 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-13 20:09:12 +0000
commit00a4ff1bd81d8f3774792539cb50712231d72bfe (patch)
treef22e2a9c145d2b8d84a5e21cce25c7e0564636ad /drivers/dahdi/wctdm24xxp
parent950b583f48e117ca3508ef973ad754e6e4b14808 (diff)
Remove support for kernels < 2.6.18
This patch removes support for kernel versions < 2.6.18, as those are not actively supported in any major Linux distribution (except RHEL4, which is in the "extended" support level of the product life cycle). This removes much of the more #ifdef-rich parts of the code. Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Acked-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10472 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index 07813da..10bf9fb 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -6051,13 +6051,11 @@ static DEFINE_PCI_DEVICE_TABLE(wctdm_pci_tbl) = {
{ 0 }
};
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12)
static void wctdm_shutdown(struct pci_dev *pdev)
{
struct wctdm *wc = pci_get_drvdata(pdev);
voicebus_quiesce(&wc->vb);
}
-#endif
MODULE_DEVICE_TABLE(pci, wctdm_pci_tbl);
@@ -6070,9 +6068,7 @@ static struct pci_driver wctdm_driver = {
.name = "wctdm24xxp",
.probe = wctdm_init_one,
.remove = __devexit_p(wctdm_remove_one),
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12)
.shutdown = wctdm_shutdown,
-#endif
.suspend = wctdm_suspend,
.id_table = wctdm_pci_tbl,
};