Messages in this thread |  | | Date | Thu, 12 Oct 2000 11:11:30 -0400 | From | Jeff Garzik <> | Subject | Re: ioremap of pci base addresses |
| |
Francois romieu wrote: > token = (unsigned long)ioremap(pci_resource_start(pdev, 0), > pci_resource_len(pdev, 0));
Looks great except for one small point -- we have been going through drivers cleaning up where they start casting like this. You should this token as a void*, and code which uses the value should adjust accordingly...
Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |