1. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  2. 23 6月, 2009 1 次提交
  3. 08 4月, 2009 1 次提交
    • U
      [WATCHDOG] omap_wdt.c: move probe function to .devinit.text · 0e3912c7
      Uwe Kleine-König 提交于
      A pointer to omap_wdt_probe is passed to the core via
      platform_driver_register and so the function must not disappear when the
      .init sections are discarded.  Otherwise (if also having HOTPLUG=y)
      unbinding and binding a device to the driver via sysfs will result in an
      oops as does a device being registered late.
      
      An alternative to this patch is using platform_driver_probe instead of
      platform_driver_register plus removing the pointer to the probe function
      from the struct platform_driver.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Alan Cox <alan@redhat.com>
      Cc: Felipe Balbi <felipe.balbi@nokia.com>
      Cc: George G. Davis <gdavis@mvista.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0e3912c7
  4. 09 2月, 2009 2 次提交
  5. 29 10月, 2008 1 次提交
  6. 10 10月, 2008 3 次提交
  7. 07 8月, 2008 3 次提交
  8. 06 8月, 2008 2 次提交
    • W
      [WATCHDOG] Coding style - Indentation - part 2 · 0c06090c
      Wim Van Sebroeck 提交于
      This brings the watchdog drivers into line with coding style.
      This patch takes cares of the indentation as described in chapter 1.
      Main changes:
      * Re-structure the ioctl switch call for all drivers as follows:
      	switch (cmd) {
      	case WDIOC_GETSUPPORT:
      	case WDIOC_GETSTATUS:
      	case WDIOC_GETBOOTSTATUS:
      	case WDIOC_GETTEMP:
      	case WDIOC_SETOPTIONS:
      	case WDIOC_KEEPALIVE:
      	case WDIOC_SETTIMEOUT:
      	case WDIOC_GETTIMEOUT:
      	case WDIOC_GETTIMELEFT:
      	default:
      	}
      
      This to make the migration from the drivers to the uniform watchdog
      device driver easier in the future.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0c06090c
    • W
      [WATCHDOG] Clean-up includes · 089ab079
      Wim Van Sebroeck 提交于
      Use #include <linux/io.h> instead of <asm/io.h>
      Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
      Clean-up includes.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      089ab079
  9. 14 6月, 2008 1 次提交
  10. 11 4月, 2008 1 次提交
  11. 20 10月, 2007 1 次提交
  12. 18 10月, 2007 1 次提交
  13. 25 7月, 2007 1 次提交
  14. 24 7月, 2007 1 次提交
  15. 09 5月, 2007 1 次提交
  16. 13 2月, 2007 1 次提交
  17. 08 12月, 2006 1 次提交
  18. 04 10月, 2006 1 次提交
  19. 30 9月, 2006 1 次提交