1. 30 Jul, 2009 3 commits
    • Ramax Lo's avatar
      ARM: S3C64XX: serial: Fix section mismatch warning · 909db802
      Ramax Lo authored
      Rename the structure to avoid the following warning:
      
      WARNING: vmlinux.o(.data+0x11ef4): Section mismatch in reference from the variable
      s3c6400_serial_drv to the function .devexit.text:s3c24xx_serial_remove()
      The variable s3c6400_serial_drv references
      the function __devexit s3c24xx_serial_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      Signed-off-by: default avatarRamax Lo <ramaxlo@gmail.com>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      909db802
    • Ramax Lo's avatar
      ARM: S3C24XX: serial: Fix section mismatch warnings · 8fe70a5f
      Ramax Lo authored
      During kernel build process, the following warning was found:
      
      WARNING: drivers/serial/built-in.o(.data+0x304): Section mismatch in reference from
      the variable s3c2440_serial_drv to the function .devexit.text:s3c24xx_serial_remove()
      The variable s3c2440_serial_drv references the function __devexit s3c24xx_serial_remove()
      If the reference is valid then annotate the variable with
      __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      The same warning happened for s3c241x platform. We rename variables to avoid
      these warnings. These changes also apply to s3c2400 & s3c24a0 for consistency.
      Signed-off-by: default avatarRamax Lo <ramaxlo@gmail.com>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      8fe70a5f
    • Peter Korsgaard's avatar
      ARM: S3C: PWM fix for low duty cycle · 165f5f64
      Peter Korsgaard authored
      The pwm hardware only checks the compare register after a decrement,
      so the pin never toggles if tcmp = tcnt.
      
      This happens when a very low duty cycle is requested. Fix it by always
      ensuring that tcmp < tcnt.
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      165f5f64
  2. 29 Jul, 2009 35 commits
  3. 28 Jul, 2009 2 commits