hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/wireless/st/cw1200/cw1200_sdio.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Mac80211 SDIO driver for ST-Ericsson CW1200 device
34 *
45 * Copyright (c) 2010, ST-Ericsson
56 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118
129 #include <linux/module.h>
....@@ -17,6 +14,7 @@
1714 #include <linux/mmc/sdio_func.h>
1815 #include <linux/mmc/card.h>
1916 #include <linux/mmc/sdio.h>
17
+#include <linux/mmc/sdio_ids.h>
2018 #include <net/mac80211.h>
2119
2220 #include "cw1200.h"
....@@ -50,14 +48,6 @@
5048 struct cw1200_common *core;
5149 const struct cw1200_platform_data_sdio *pdata;
5250 };
53
-
54
-#ifndef SDIO_VENDOR_ID_STE
55
-#define SDIO_VENDOR_ID_STE 0x0020
56
-#endif
57
-
58
-#ifndef SDIO_DEVICE_ID_STE_CW1200
59
-#define SDIO_DEVICE_ID_STE_CW1200 0x2280
60
-#endif
6151
6252 static const struct sdio_device_id cw1200_sdio_ids[] = {
6353 { SDIO_DEVICE(SDIO_VENDOR_ID_STE, SDIO_DEVICE_ID_STE_CW1200) },