You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
fs: Merge split strings
treewide: fix potentially dangerous trailing ';' in #defined values/expressions
uwb: Fix misspelling of neighbourhood in comment
net, netfilter: Remove redundant goto in ebt_ulog_packet
trivial: don't touch files that are removed in the staging tree
lib/vsprintf: replace link to Draft by final RFC number
doc: Kconfig: `to be' -> `be'
doc: Kconfig: Typo: square -> squared
doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
drivers/net: static should be at beginning of declaration
drivers/media: static should be at beginning of declaration
drivers/i2c: static should be at beginning of declaration
XTENSA: static should be at beginning of declaration
SH: static should be at beginning of declaration
MIPS: static should be at beginning of declaration
ARM: static should be at beginning of declaration
rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
Update my e-mail address
PCIe ASPM: forcedly -> forcibly
gma500: push through device driver tree
...
Fix up trivial conflicts:
- arch/arm/mach-ep93xx/dma-m2p.c (deleted)
- drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
- drivers/net/r8169.c (just context changes)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright © 2009 Bluewater Systems Ltd
|
||||
* Author: Andre Renaud <andre@bluewatersys.com>
|
||||
* Author: Ryan Mallon <ryan@bluewatersys.com>
|
||||
* Author: Ryan Mallon
|
||||
*
|
||||
* Based on m25p80.c
|
||||
*
|
||||
@@ -498,5 +498,5 @@ module_exit(sst25l_exit);
|
||||
|
||||
MODULE_DESCRIPTION("MTD SPI driver for SST25L Flash chips");
|
||||
MODULE_AUTHOR("Andre Renaud <andre@bluewatersys.com>, "
|
||||
"Ryan Mallon <ryan@bluewatersys.com>");
|
||||
"Ryan Mallon");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -142,7 +142,7 @@ static int __devinit bfin_flash_probe(struct platform_device *pdev)
|
||||
state->map.write = bfin_flash_write;
|
||||
state->map.copy_to = bfin_flash_copy_to;
|
||||
state->map.bankwidth = pdata->width;
|
||||
state->map.size = memory->end - memory->start + 1;
|
||||
state->map.size = resource_size(memory);
|
||||
state->map.virt = (void __iomem *)memory->start;
|
||||
state->map.phys = memory->start;
|
||||
state->map.map_priv_1 = (unsigned long)state;
|
||||
|
||||
@@ -155,7 +155,7 @@ static int ixp2000_flash_probe(struct platform_device *dev)
|
||||
if (!plat)
|
||||
return -ENODEV;
|
||||
|
||||
window_size = dev->resource->end - dev->resource->start + 1;
|
||||
window_size = resource_size(dev->resource);
|
||||
dev_info(&dev->dev, "Probe of IXP2000 flash(%d banks x %dMiB)\n",
|
||||
ixp_data->nr_banks, ((u32)window_size >> 20));
|
||||
|
||||
@@ -194,16 +194,17 @@ static int ixp2000_flash_probe(struct platform_device *dev)
|
||||
info->map.copy_to = ixp2000_flash_copy_to;
|
||||
|
||||
info->res = request_mem_region(dev->resource->start,
|
||||
dev->resource->end - dev->resource->start + 1,
|
||||
dev_name(&dev->dev));
|
||||
resource_size(dev->resource),
|
||||
dev_name(&dev->dev));
|
||||
if (!info->res) {
|
||||
dev_err(&dev->dev, "Could not reserve memory region\n");
|
||||
err = -ENOMEM;
|
||||
goto Error;
|
||||
}
|
||||
|
||||
info->map.map_priv_1 = (unsigned long) ioremap(dev->resource->start,
|
||||
dev->resource->end - dev->resource->start + 1);
|
||||
info->map.map_priv_1 =
|
||||
(unsigned long)ioremap(dev->resource->start,
|
||||
resource_size(dev->resource));
|
||||
if (!info->map.map_priv_1) {
|
||||
dev_err(&dev->dev, "Failed to ioremap flash region\n");
|
||||
err = -EIO;
|
||||
|
||||
@@ -70,7 +70,7 @@ static int __devinit pxa2xx_flash_probe(struct platform_device *pdev)
|
||||
info->map.name = (char *) flash->name;
|
||||
info->map.bankwidth = flash->width;
|
||||
info->map.phys = res->start;
|
||||
info->map.size = res->end - res->start + 1;
|
||||
info->map.size = resource_size(res);
|
||||
info->parts = flash->parts;
|
||||
info->nr_parts = flash->nr_parts;
|
||||
|
||||
|
||||
@@ -514,7 +514,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
|
||||
|
||||
host->io_phys = (dma_addr_t)mem->start;
|
||||
|
||||
host->io_base = ioremap(mem->start, mem->end - mem->start + 1);
|
||||
host->io_base = ioremap(mem->start, resource_size(mem));
|
||||
if (host->io_base == NULL) {
|
||||
printk(KERN_ERR "atmel_nand: ioremap failed\n");
|
||||
res = -EIO;
|
||||
@@ -548,7 +548,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
|
||||
if (no_ecc)
|
||||
nand_chip->ecc.mode = NAND_ECC_NONE;
|
||||
if (hard_ecc && regs) {
|
||||
host->ecc = ioremap(regs->start, regs->end - regs->start + 1);
|
||||
host->ecc = ioremap(regs->start, resource_size(regs));
|
||||
if (host->ecc == NULL) {
|
||||
printk(KERN_ERR "atmel_nand: ioremap failed\n");
|
||||
res = -EIO;
|
||||
|
||||
@@ -380,7 +380,7 @@ static int __devinit bcm_umi_nand_probe(struct platform_device *pdev)
|
||||
return -ENXIO;
|
||||
|
||||
/* map physical address */
|
||||
bcm_umi_io_base = ioremap(r->start, r->end - r->start + 1);
|
||||
bcm_umi_io_base = ioremap(r->start, resource_size(r));
|
||||
|
||||
if (!bcm_umi_io_base) {
|
||||
printk(KERN_ERR "ioremap to access BCM UMI NAND chip failed\n");
|
||||
|
||||
@@ -713,7 +713,7 @@ static int __devinit mpc5121_nfc_probe(struct platform_device *op)
|
||||
}
|
||||
|
||||
regs_paddr = res.start;
|
||||
regs_size = res.end - res.start + 1;
|
||||
regs_size = resource_size(&res);
|
||||
|
||||
if (!devm_request_mem_region(dev, regs_paddr, regs_size, DRV_NAME)) {
|
||||
dev_err(dev, "Error requesting memory region!\n");
|
||||
|
||||
Reference in New Issue
Block a user