Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309031
b: refs/heads/master
c: 97bf7a1
h: refs/heads/master
i:
  309029: f9162db
  309027: 943c081
  309023: 9d58db2
v: v3
  • Loading branch information
Thomas Meyer authored and Ralf Baechle committed May 15, 2012
1 parent a6aeb26 commit 9f8541c
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baab01b26685b8f0af9092aaee73d8a70c31e55c
refs/heads/master: 97bf7a190082457f84467b28baed14c8147476f2
1 change: 0 additions & 1 deletion trunk/arch/mips/alchemy/devboards/db1200.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/leds.h>
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/mips/ath79/dev-gpio-buttons.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ void __init ath79_register_gpio_keys_polled(int id,
struct gpio_keys_button *p;
int err;

p = kmalloc(nbuttons * sizeof(*p), GFP_KERNEL);
p = kmemdup(buttons, nbuttons * sizeof(*p), GFP_KERNEL);
if (!p)
return;

memcpy(p, buttons, nbuttons * sizeof(*p));

pdev = platform_device_alloc("gpio-keys-polled", id);
if (!pdev)
goto err_free_buttons;
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/mips/ath79/dev-leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ void __init ath79_register_leds_gpio(int id,
struct gpio_led *p;
int err;

p = kmalloc(num_leds * sizeof(*p), GFP_KERNEL);
p = kmemdup(leds, num_leds * sizeof(*p), GFP_KERNEL);
if (!p)
return;

memcpy(p, leds, num_leds * sizeof(*p));

pdev = platform_device_alloc("leds-gpio", id);
if (!pdev)
goto err_free_leds;
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/cavium-octeon/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <linux/init.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/serial.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/include/asm/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define _ASM_MODULE_H

#include <linux/list.h>
#include <linux/elf.h>
#include <asm/uaccess.h>

struct mod_arch_specific {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/termios.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct termio {
};

#ifdef __KERNEL__
#include <asm/uaccess.h>
#include <linux/module.h>

/*
* intr=^C quit=^\ erase=del kill=^U
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/uasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/types.h>

#ifdef CONFIG_EXPORT_UASM
#include <linux/export.h>
#include <linux/module.h>
#define __uasminit
#define __uasminitdata
#define UASM_EXPORT_SYMBOL(sym) EXPORT_SYMBOL(sym)
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <linux/compiler.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/smp.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/pmc-sierra/yosemite/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <linux/bcd.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/rb532/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/init.h>
#include <linux/ctype.h>
#include <linux/string.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/sni/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
#include <linux/eisa.h>
#include <linux/init.h>
#include <linux/export.h>
#include <linux/console.h>
#include <linux/fb.h>
#include <linux/screen_info.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/tty/serial/sb1250-duart.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/major.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/tty/serial/zs.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
#include <linux/ioport.h>
#include <linux/irqflags.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/major.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
Expand Down

0 comments on commit 9f8541c

Please sign in to comment.