Skip to content

Commit

Permalink
net: wireless: ti: remove local VENDOR_ID and DEVICE_ID definitions
Browse files Browse the repository at this point in the history
They are already included from mmc/sdio_ids.h and do not need
a local definition.

Fixes: 884f386 ("mmc: core: move some sdio IDs out of quirks file")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Cc: <stable@vger.kernel.org> # v4.11+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
H. Nikolaus Schaller authored and Ulf Hansson committed Nov 15, 2019
1 parent d8620bb commit b2bf501
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions drivers/net/wireless/ti/wl1251/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@

#include "wl1251.h"

#ifndef SDIO_VENDOR_ID_TI
#define SDIO_VENDOR_ID_TI 0x104c
#endif

#ifndef SDIO_DEVICE_ID_TI_WL1251
#define SDIO_DEVICE_ID_TI_WL1251 0x9066
#endif

struct wl1251_sdio {
struct sdio_func *func;
u32 elp_val;
Expand Down
8 changes: 0 additions & 8 deletions drivers/net/wireless/ti/wlcore/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@
#include "wl12xx_80211.h"
#include "io.h"

#ifndef SDIO_VENDOR_ID_TI
#define SDIO_VENDOR_ID_TI 0x0097
#endif

#ifndef SDIO_DEVICE_ID_TI_WL1271
#define SDIO_DEVICE_ID_TI_WL1271 0x4076
#endif

static bool dump = false;

struct wl12xx_sdio_glue {
Expand Down

0 comments on commit b2bf501

Please sign in to comment.