Message ID | 201210092001.26947.arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Oct 09, 2012 at 08:01:26PM +0000, Arnd Bergmann wrote: > On Tuesday 09 October 2012, Olof Johansson wrote: > > On Tue, Oct 09, 2012 at 05:34:18PM +0200, Arnd Bergmann wrote: > > > Hi Olof, > > > > > > Here are three more fixes that I'd like to merge through the arm-soc > > > as time permits. All of them should be completely harmless and they > > > only fix harmless gcc warnings. > > > > > > I don't know what your plans are for sending the next fixes branch. > > > I've uploaded these into a new "fixes2" branch on top of the patches > > > that are already in "fixes". We can either send them all together, > > > or you send the ones that are already queued first and these ones > > > with the next batch. Feel free to rebase if necessary. > > > > I've pulled it in and will send up with fixes tonight (Tony has OMAP > > fixes coming, others might too). > > > > Ok, thanks! > > I just noticed that I was missing yet another one, which I now added > directly. It was part of a longer series I sent last week. I wasn't > really sure whether this one would better be included in arm-soc or > Russell's arm tree and then I ended up not putting it in either series :( OK, I applied on top of the rest. -Olof
diff --git a/arch/arm/common/it8152.c b/arch/arm/common/it8152.c index c4110d1..001f491 100644 --- a/arch/arm/common/it8152.c +++ b/arch/arm/common/it8152.c @@ -284,11 +284,17 @@ int dma_set_coherent_mask(struct device *dev, u64 mask) int __init it8152_pci_setup(int nr, struct pci_sys_data *sys) { - it8152_io.start = IT8152_IO_BASE + 0x12000; - it8152_io.end = IT8152_IO_BASE + 0x12000 + 0x100000; + /* + * FIXME: use pci_ioremap_io to remap the IO space here and + * move over to the generic io.h implementation. + * This requires solving the same problem for PXA PCMCIA + * support. + */ + it8152_io.start = (unsigned long)IT8152_IO_BASE + 0x12000; + it8152_io.end = (unsigned long)IT8152_IO_BASE + 0x12000 + 0x100000; sys->mem_offset = 0x10000000; - sys->io_offset = IT8152_IO_BASE; + sys->io_offset = (unsigned long)IT8152_IO_BASE; if (request_resource(&ioport_resource, &it8152_io)) { printk(KERN_ERR "PCI: unable to allocate IO region\n");