| @@ -1038,10 +1038,10 @@ static int rsi_probe(struct sdio_func *pfunction, · 1037 unmodified lines |
| 1038 | goto fail_free_adapter; | 1038 | goto fail_free_adapter; |
| 1039 | } | 1039 | } |
| 1040 | | 1040 | |
| 1041 | if (pfunction->device == RSI_SDIO_PID_9113) { | 1041 | if (pfunction->device == SDIO_DEVICE_ID_RSI_9113) { |
| 1042 | rsi_dbg(ERR_ZONE, "%s: 9113 module detected\n", __func__); | 1042 | rsi_dbg(ERR_ZONE, "%s: 9113 module detected\n", __func__); |
| 1043 | adapter->device_model = RSI_DEV_9113; | 1043 | adapter->device_model = RSI_DEV_9113; |
| 1044 | } else if (pfunction->device == RSI_SDIO_PID_9116) { | 1044 | } else if (pfunction->device == SDIO_DEVICE_ID_RSI_9116) { |
| 1045 | rsi_dbg(ERR_ZONE, "%s: 9116 module detected\n", __func__); | 1045 | rsi_dbg(ERR_ZONE, "%s: 9116 module detected\n", __func__); |
| 1046 | adapter->device_model = RSI_DEV_9116; | 1046 | adapter->device_model = RSI_DEV_9116; |
| 1047 | } else { | 1047 | } else { |
| @@ -1526,8 +1526,8 @@ static const struct dev_pm_ops rsi_pm_ops = { · 478 unmodified lines |
| 1526 | #endif | 1526 | #endif |
| 1527 | | 1527 | |
| 1528 | static const struct sdio_device_id rsi_dev_table[] = { | 1528 | static const struct sdio_device_id rsi_dev_table[] = { |
| 1529 | { SDIO_DEVICE(RSI_SDIO_VENDOR_ID, RSI_SDIO_PID_9113) }, | 1529 | { SDIO_DEVICE(SDIO_VENDOR_ID_RSI, SDIO_DEVICE_ID_RSI_9113) }, |
| 1530 | { SDIO_DEVICE(RSI_SDIO_VENDOR_ID, RSI_SDIO_PID_9116) }, | 1530 | { SDIO_DEVICE(SDIO_VENDOR_ID_RSI, SDIO_DEVICE_ID_RSI_9116) }, |
| 1531 | { /* Blank */}, | 1531 | { /* Blank */}, |
| 1532 | }; | 1532 | }; |
| 1533 | | 1533 | |