Skip to content

Commit

Permalink
wil6210: Remove msm platform related code
Browse files Browse the repository at this point in the history
Current implementation depends on msm-bus driver which
is not merged into mainline kernel therefore
this code is removed

Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Hamad Kadmany authored and Kalle Valo committed Feb 3, 2015
1 parent feeac22 commit 7201472
Showing 5 changed files with 1 addition and 302 deletions.
9 changes: 0 additions & 9 deletions drivers/net/wireless/ath/wil6210/Kconfig
Original file line number Diff line number Diff line change
@@ -39,12 +39,3 @@ config WIL6210_TRACING
option if you are interested in debugging the driver.

If unsure, say Y to make it easier to debug problems.

config WIL6210_PLATFORM_MSM
bool "wil6210 MSM platform specific support"
depends on WIL6210
depends on ARCH_MSM
default y
---help---
Say Y here to enable wil6210 driver support for MSM
platform specific features
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/wil6210/Makefile
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ wil6210-y += ioctl.o
wil6210-y += fw.o
wil6210-$(CONFIG_WIL6210_TRACING) += trace.o
wil6210-y += wil_platform.o
wil6210-$(CONFIG_WIL6210_PLATFORM_MSM) += wil_platform_msm.o
wil6210-y += ethtool.o

# for tracing framework to find trace.h
12 changes: 1 addition & 11 deletions drivers/net/wireless/ath/wil6210/wil_platform.c
Original file line number Diff line number Diff line change
@@ -17,10 +17,6 @@
#include "linux/device.h"
#include "wil_platform.h"

#ifdef CONFIG_WIL6210_PLATFORM_MSM
#include "wil_platform_msm.h"
#endif

/**
* wil_platform_init() - wil6210 platform module init
*
@@ -37,13 +33,7 @@ void *wil_platform_init(struct device *dev, struct wil_platform_ops *ops)
return NULL;
}

#ifdef CONFIG_WIL6210_PLATFORM_MSM
handle = wil_platform_msm_init(dev, ops);
if (handle)
return handle;
#endif

/* other platform specific init functions should be called here */
/* platform specific init functions should be called here */

return handle;
}
257 changes: 0 additions & 257 deletions drivers/net/wireless/ath/wil6210/wil_platform_msm.c

This file was deleted.

24 changes: 0 additions & 24 deletions drivers/net/wireless/ath/wil6210/wil_platform_msm.h

This file was deleted.

0 comments on commit 7201472

Please sign in to comment.