aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/rbtx4939/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/txx9/rbtx4939/setup.c')
-rw-r--r--arch/mips/txx9/rbtx4939/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/txx9/rbtx4939/setup.c b/arch/mips/txx9/rbtx4939/setup.c
index e15641d93092..2da5f25f98bc 100644
--- a/arch/mips/txx9/rbtx4939/setup.c
+++ b/arch/mips/txx9/rbtx4939/setup.c
@@ -243,7 +243,7 @@ static int __init rbtx4939_led_probe(struct platform_device *pdev)
243} 243}
244 244
245static struct platform_driver rbtx4939_led_driver = { 245static struct platform_driver rbtx4939_led_driver = {
246 .driver = { 246 .driver = {
247 .name = "rbtx4939-led", 247 .name = "rbtx4939-led",
248 .owner = THIS_MODULE, 248 .owner = THIS_MODULE,
249 }, 249 },
@@ -337,7 +337,7 @@ static void rbtx4939_flash_copy_from(struct map_info *map, void *to,
337 shift = bdipsw & 3; 337 shift = bdipsw & 3;
338 while (len) { 338 while (len) {
339 curlen = min_t(unsigned long, len, 339 curlen = min_t(unsigned long, len,
340 0x400000 - (from & (0x400000 - 1))); 340 0x400000 - (from & (0x400000 - 1)));
341 memcpy(to, 341 memcpy(to,
342 (void *)((from & ~0xc00000) | 342 (void *)((from & ~0xc00000) |
343 ((((from >> 22) + shift) & 3) << 22)), 343 ((((from >> 22) + shift) & 3) << 22)),