| .. | .. |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * amd5536udc_pci.c -- AMD 5536 UDC high/full speed USB device controller |
|---|
| 4 | 4 | * |
|---|
| 5 | | - * Copyright (C) 2005-2007 AMD (http://www.amd.com) |
|---|
| 5 | + * Copyright (C) 2005-2007 AMD (https://www.amd.com) |
|---|
| 6 | 6 | * Author: Thomas Dahlmann |
|---|
| 7 | 7 | */ |
|---|
| 8 | 8 | |
|---|
| .. | .. |
|---|
| 49 | 49 | static struct udc *udc; |
|---|
| 50 | 50 | |
|---|
| 51 | 51 | /* description */ |
|---|
| 52 | | -static const char mod_desc[] = UDC_MOD_DESCRIPTION; |
|---|
| 53 | 52 | static const char name[] = "amd5536udc-pci"; |
|---|
| 54 | 53 | |
|---|
| 55 | 54 | /* Reset all pci context */ |
|---|
| .. | .. |
|---|
| 116 | 115 | goto err_memreg; |
|---|
| 117 | 116 | } |
|---|
| 118 | 117 | |
|---|
| 119 | | - dev->virt_addr = ioremap_nocache(resource, len); |
|---|
| 118 | + dev->virt_addr = ioremap(resource, len); |
|---|
| 120 | 119 | if (!dev->virt_addr) { |
|---|
| 121 | 120 | dev_dbg(&pdev->dev, "start address cannot be mapped\n"); |
|---|
| 122 | 121 | retval = -EFAULT; |
|---|
| .. | .. |
|---|
| 171 | 170 | retval = -ENODEV; |
|---|
| 172 | 171 | goto err_probe; |
|---|
| 173 | 172 | } |
|---|
| 173 | + |
|---|
| 174 | + udc = dev; |
|---|
| 175 | + |
|---|
| 174 | 176 | return 0; |
|---|
| 175 | 177 | |
|---|
| 176 | 178 | err_probe: |
|---|
| .. | .. |
|---|
| 202 | 204 | |
|---|
| 203 | 205 | /* PCI functions */ |
|---|
| 204 | 206 | static struct pci_driver udc_pci_driver = { |
|---|
| 205 | | - .name = (char *) name, |
|---|
| 207 | + .name = name, |
|---|
| 206 | 208 | .id_table = pci_id, |
|---|
| 207 | 209 | .probe = udc_pci_probe, |
|---|
| 208 | 210 | .remove = udc_pci_remove, |
|---|