1. 11 11月, 2011 4 次提交
    • R
    • M
      MIPS: ASID conflict after CPU hotplug · 5c200197
      Maksim Rayskiy 提交于
      I am running SMP Linux 2.6.37-rc1 on BMIPS5000 (single core dual thread)
      and observe some abnormalities when doing system suspend/resume which I
      narrowed down to cpu hotplugging. The suspend brings the second thread
      processor down and then restarts it, after which I see memory corruption
      in userspace. I started digging and found out that problem occurs because
      while doing execve() the child process is getting the same ASID as the
      parent, which obviously corrupts parent's address space.
      
      Further digging showed that activate_mm() calls get_new_mmu_context() to
      get a new ASID, but at this time ASID field in entryHi is 1, and
      asid_cache(cpu) is 0x100 (it was just reset to ASID_FIRST_VERSION when
      the secondary TP was booting).
      
      So, get_new_mmu_context() increments the asid_cache(cpu) value to
      0x101, and thus puts 0x01 into entryHi. The result - ASID field does
      not get changed as it was supposed to.
      
      My solution is very simple - do not reset asid_cache(cpu) on TP warm
      restart.
      
      Patchwork: https://patchwork.linux-mips.org/patch/1797/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5c200197
    • D
      MIPS: Octeon: Fix compile error in arch/mips/cavium-octeon/flash_setup.c · b2f90941
      David Daney 提交于
      The parse_mtd_partitions() and mtd_device_register() functions were
      combined into mtd_device_parse_register().  So call that instead.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      To: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/2923/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      b2f90941
    • A
      MIPS: errloongson2_clock: Fix build error by including linux/module.h · 54b2edf4
      Aaro Koskinen 提交于
      Fix the following compilation failure with v3.2-rc1 by including module.h:
      
        CC [M]  arch/mips/kernel/cpufreq/loongson2_clock.o
      arch/mips/kernel/cpufreq/loongson2_clock.c:39:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:39:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:39:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:51:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:51:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:51:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:71:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:71:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:71:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:76:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:76:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:76:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:82:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:82:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:82:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:87:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:87:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:87:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:93:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:93:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:93:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:131:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:131:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:131:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:147:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:147:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:147:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:166:1: error: data definition has no type or storage class [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:166:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' [-Werror=implicit-int]
      arch/mips/kernel/cpufreq/loongson2_clock.c:166:1: error: parameter names (without types) in function declaration [-Werror]
      arch/mips/kernel/cpufreq/loongson2_clock.c:168:15: error: expected declaration specifiers or '...' before string constant
      arch/mips/kernel/cpufreq/loongson2_clock.c:169:20: error: expected declaration specifiers or '...' before string constant
      arch/mips/kernel/cpufreq/loongson2_clock.c:170:16: error: expected declaration specifiers or '...' before string constant
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      To: linux-mips@linux-mips.org
      To: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/2922/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      54b2edf4
  2. 09 11月, 2011 2 次提交
  3. 08 11月, 2011 7 次提交
  4. 07 11月, 2011 4 次提交
  5. 06 11月, 2011 9 次提交
  6. 05 11月, 2011 14 次提交
    • T
      ARM: OMAP2: Fix H4 matrix keyboard warning · 41eb2d81
      Tony Lindgren 提交于
      Convert to use matrix keyboard to remove the warning
      "Please update the board to use matrix-keypad driver".
      
      Based on similar setup in palmtc.c. Note that this
      patch is compile tested only because of lack of working
      hardware.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      41eb2d81
    • J
      ARM: OMAP1: Remove unused omap-alsa.h · 98e541ff
      Jarkko Nikula 提交于
      There is no use for omap-alsa.h and board-palmz71.c doesn't need it either.
      Signed-off-by: NJarkko Nikula <jarkko.nikula@bitmer.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      98e541ff
    • T
      ARM: OMAP1: Fix warnings about enabling 32 KiHz timer · be26a008
      Tony Lindgren 提交于
      Fix "Enable 32kHz OS timer in order to allow sleep states in idle"
      warning. We are now compiling in bothe MPU timer and 32 KiHz timer,
      so this warning is only valid when MPU_TIMER is set and OMAP_DM_TIMER
      is not set.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      be26a008
    • B
      ARM: OMAP2+: timer: Remove omap_device_pm_latency · c16ae1e6
      Benoit Cousson 提交于
      Remove the structure since a default one is now available.
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c16ae1e6
    • B
      ARM: OMAP2+: clock data: Remove redundant timer clkdev · 2847111c
      Benoit Cousson 提交于
      The commit 318c3e15
      added some "fck" clock alias to timer devices that are
      not needed anymore since hwmod framework will create
      them automatically.
      
      A warning was added to highlight and thus fix the redundancy.
      
      [    0.616424]  omap_timer.1: alias fck already exists
      [    0.621948]  omap_timer.2: alias fck already exists
      [    0.627380]  omap_timer.3: alias fck already exists
      [    0.632781]  omap_timer.4: alias fck already exists
      [    0.638214]  omap_timer.5: alias fck already exists
      [    0.643615]  omap_timer.6: alias fck already exists
      [    0.649078]  omap_timer.7: alias fck already exists
      [    0.654479]  omap_timer.8: alias fck already exists
      [    0.659881]  omap_timer.9: alias fck already exists
      [    0.665283]  omap_timer.10: alias fck already exists
      [    0.670776]  omap_timer.11: alias fck already exists
      
      Remove all the clkdev entries for timer fck alias.
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      2847111c
    • T
      ARM: OMAP: Devkit8000: Remove double omap_mux_init_gpio · e9614f35
      Thomas Weber 提交于
      Remove the init of card detect pin because
      omap_mux_init_gpio() is called during hsmmc initialization
      for the write protect and card detect pin.
      Signed-off-by: NThomas Weber <weber@corscience.de>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e9614f35
    • B
      ARM: OMAP: usb: musb: OMAP: Delete unused function · 0eb3c0f5
      Bjarne Steinsbo 提交于
      Not in use anymore.
      Signed-off-by: NBjarne Steinsbo <bsteinsbo@gmail.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      0eb3c0f5
    • T
      ARM: OMAP: change get_context_loss_count ret value to int · fc013873
      Tomi Valkeinen 提交于
      get_context_loss_count functions return context loss count as u32, and
      zero means an error. However, zero is also returned when context has
      never been lost and could also be returned when the context loss count
      has wrapped and goes to zero.
      
      Change the functions to return an int, with negative value meaning an
      error.
      
      OMAP HSMMC code uses omap_pm_get_dev_context_loss_count(), but as the
      hsmmc code handles the returned value as an int, with negative value
      meaning an error, this patch actually fixes hsmmc code also.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Acked-by: NKevin Hilman <khilman@ti.com>
      Acked-by: NPaul Walmsley <paul@pwsan.com>
      [tony@atomide.com: updated to fix a warning with recent dmtimer changes]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      fc013873
    • B
      ARM: OMAP4: hsmmc: configure SDMMC1_DR0 properly · c862dd70
      Balaji T K 提交于
      Fix the typo, instead it should be SDMMC1
      USBC1 is not related to MMC1 I/Os
      Signed-off-by: NBalaji T K <balajitk@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c862dd70
    • B
      ARM: OMAP4: hsmmc: Fix Pbias configuration on regulator OFF · ff2beb1d
      Balaji T K 提交于
      MMC1 data line IO's are powered down in before set regulator function.
      IO's should not be powered ON when regulator is OFF.
      Keep the IO's in power pown mode after regulator OFF otherwise VMODE_ERROR
      interrupt is generated due to mismatch in input (regulator)
      voltage and MMC IO drive voltage.
      Delete incorrect comments which are not applicable for OMAP4.
      Signed-off-by: NBalaji T K <balajitk@ti.com>
      Signed-off-by: NKishore Kadiyala <kishore.kadiyala@ti.com>
      Reported-by: NViswanath Puttagunta <vishp@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ff2beb1d
    • P
      ARM: OMAP3: hwmod: fix variant registration and remove SmartReflex from common list · ace90216
      Paul Walmsley 提交于
      Commit d6504acd ("OMAP2+: hwmod:
      remove OMAP_CHIP*") tests the inverse condition of what it should be
      testing for the return value from omap_hwmod_register().  This causes
      several IP blocks to not be registered on several OMAP3 family devices.
      
      Fixing that bug also unmasked another bug, originally reported by
      Chase Maupin <chase.maupin@ti.com> and then subsequently by Abhilash K
      V <abhilash.kv@ti.com>, which caused SmartReflex IP blocks to be
      registered on SoCs that don't support them.
      
      Thanks to Russell King - ARM Linux <linux@arm.linux.org.uk> for comments
      on a previous version of the patch.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Chase Maupin <chase.maupin@ti.com>
      Cc: Abhilash K V <abhilash.kv@ti.com>
      Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ace90216
    • L
      ARM: OMAP: I2C: Fix omap_register_i2c_bus() return value on success · af504e5d
      Laurent Pinchart 提交于
      Commit 4d17aeb1 ("OMAP: I2C: split
      device registration and convert OMAP2+ to omap_device") makes
      omap2_i2c_add_bus() return a pointer to an omap_device instead on
      success instead of 0.
      
      This breaks the omap_register_i2c_bus() ABI and results in the igep0020
      board code detecting an I2C bus registration error when there is none.
      
      Fix the problem by using PTR_RET() instead of PTR_ERR() in
      omap2_i2c_add_bus().
      Reported-by: NAlexander Kinzer <a.kinzer@plusoptix.de>
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      [tony@atomide.com: updated to return pdev instead of od]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      af504e5d
    • A
      ARM: OMAP: dmtimer: Include linux/module.h · 869dec15
      Axel Lin 提交于
      Include linux/module.h to fix below build error:
      
        CC      arch/arm/plat-omap/dmtimer.o
      arch/arm/plat-omap/dmtimer.c:184: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:184: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:184: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:215: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:215: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:215: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:228: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:228: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:228: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:234: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:234: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:234: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:240: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:240: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:240: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:248: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:248: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:248: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:294: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:294: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:294: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:302: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:302: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:302: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:316: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:316: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:316: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:344: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:344: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:344: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:361: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:361: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:361: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:380: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:380: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:380: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:406: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:406: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:406: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:443: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:443: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:443: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:468: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:468: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:468: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:494: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:494: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:494: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:517: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:517: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:517: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:534: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:534: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:534: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:549: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:549: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:549: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:561: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:561: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:561: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:572: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:572: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:572: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:587: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:587: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:587: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:604: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:604: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      arch/arm/plat-omap/dmtimer.c:604: warning: parameter names (without types) in function declaration
      arch/arm/plat-omap/dmtimer.c:746: error: expected declaration specifiers or '...' before string constant
      arch/arm/plat-omap/dmtimer.c:746: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:746: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
      arch/arm/plat-omap/dmtimer.c:746: warning: function declaration isn't a prototype
      arch/arm/plat-omap/dmtimer.c:747: error: expected declaration specifiers or '...' before string constant
      arch/arm/plat-omap/dmtimer.c:747: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:747: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
      arch/arm/plat-omap/dmtimer.c:747: warning: function declaration isn't a prototype
      arch/arm/plat-omap/dmtimer.c:748: error: expected declaration specifiers or '...' before string constant
      arch/arm/plat-omap/dmtimer.c:748: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:748: warning: type defaults to 'int' in declaration of 'MODULE_ALIAS'
      arch/arm/plat-omap/dmtimer.c:748: warning: function declaration isn't a prototype
      arch/arm/plat-omap/dmtimer.c:749: error: expected declaration specifiers or '...' before string constant
      arch/arm/plat-omap/dmtimer.c:749: warning: data definition has no type or storage class
      arch/arm/plat-omap/dmtimer.c:749: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
      arch/arm/plat-omap/dmtimer.c:749: warning: function declaration isn't a prototype
      make[1]: *** [arch/arm/plat-omap/dmtimer.o] Error 1
      make: *** [arch/arm/plat-omap] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      869dec15
    • A
      ARM: OMAP2+: l3-noc: Include linux/module.h · d4fc7eb5
      Axel Lin 提交于
      Include linux/module.h to fix below build error:
      
        CC      arch/arm/mach-omap2/omap_l3_noc.o
      arch/arm/mach-omap2/omap_l3_noc.c:240: error: expected ',' or ';' before 'MODULE_DEVICE_TABLE'
      arch/arm/mach-omap2/omap_l3_noc.c:250: error: 'THIS_MODULE' undeclared here (not in a function)
      make[1]: *** [arch/arm/mach-omap2/omap_l3_noc.o] Error 1
      make: *** [arch/arm/mach-omap2] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d4fc7eb5