.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Mac80211 SDIO driver for ST-Ericsson CW1200 device |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2010, ST-Ericsson |
---|
5 | 6 | * 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. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #include <linux/module.h> |
---|
.. | .. |
---|
17 | 14 | #include <linux/mmc/sdio_func.h> |
---|
18 | 15 | #include <linux/mmc/card.h> |
---|
19 | 16 | #include <linux/mmc/sdio.h> |
---|
| 17 | +#include <linux/mmc/sdio_ids.h> |
---|
20 | 18 | #include <net/mac80211.h> |
---|
21 | 19 | |
---|
22 | 20 | #include "cw1200.h" |
---|
.. | .. |
---|
50 | 48 | struct cw1200_common *core; |
---|
51 | 49 | const struct cw1200_platform_data_sdio *pdata; |
---|
52 | 50 | }; |
---|
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 |
---|
61 | 51 | |
---|
62 | 52 | static const struct sdio_device_id cw1200_sdio_ids[] = { |
---|
63 | 53 | { SDIO_DEVICE(SDIO_VENDOR_ID_STE, SDIO_DEVICE_ID_STE_CW1200) }, |
---|