1. 20 12月, 2011 1 次提交
  2. 27 11月, 2011 1 次提交
  3. 01 11月, 2011 1 次提交
  4. 30 10月, 2011 2 次提交
    • H
      i2c/scx200_acb: Fix section mismatch warning in scx200_pci_drv · 6fcf84a2
      Harvey Yang 提交于
      WARNING: drivers/i2c/busses/built-in.o(.data+0x47c8): Section mismatch in reference from the variable scx200_pci_drv to the function .devinit.text:scx200_probe()
      The variable scx200_pci_drv references
      the function __devinit scx200_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      Signed-off-by: NHarvey Yang <harvey.huawei.yang@gmail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      6fcf84a2
    • G
      i2c: I2C_ELEKTOR should depend on HAS_IOPORT · 9519282a
      Geert Uytterhoeven 提交于
      On m68k, I get:
      
      drivers/i2c/busses/i2c-elektor.c: In function ‘pcf_isa_init’:
      drivers/i2c/busses/i2c-elektor.c:153: error: implicit declaration of function ‘ioport_map’
      drivers/i2c/busses/i2c-elektor.c:153: warning: assignment makes pointer from integer without a cast
      drivers/i2c/busses/i2c-elektor.c: In function ‘elektor_probe’:
      drivers/i2c/busses/i2c-elektor.c:287: error: implicit declaration of function ‘ioport_unmap’
      
      Since commit 82ed223c ("iomap: make IOPORT/PCI
      mapping functions conditional"), ioport_map() is only available on platforms
      that set HAS_IOPORT.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      9519282a
  5. 29 10月, 2011 35 次提交