]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: wireless: ti: remove local VENDOR_ID and DEVICE_ID definitions
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 7 Nov 2019 10:30:45 +0000 (11:30 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 15 Nov 2019 08:59:19 +0000 (09:59 +0100)
They are already included from mmc/sdio_ids.h and do not need
a local definition.

Fixes: 884f38607897 ("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>
drivers/net/wireless/ti/wl1251/sdio.c
drivers/net/wireless/ti/wlcore/sdio.c

index ac677309dab6e494b52d0eb27fafca2388e6ecc7..94569cd695c81822ed9bd496ca5f45a88e7a0c44 100644 (file)
 
 #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;
index 7afaf35f24533978c503fe9df0cb5003b5481811..9fd8cf2d270cc600a193ba0c252cac8755cdf5ec 100644 (file)
 #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 {