1. 06 5月, 2014 4 次提交
  2. 04 1月, 2013 1 次提交
    • G
      Drivers: misc: remove __dev* attributes. · 0fe763c5
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0fe763c5
  3. 02 10月, 2012 1 次提交
  4. 21 9月, 2012 1 次提交
  5. 19 9月, 2012 1 次提交
  6. 13 9月, 2012 2 次提交
    • T
      ARM: OMAP: Split plat/hardware.h, use local soc.h for omap2+ · dbc04161
      Tony Lindgren 提交于
      As the plat and mach includes need to disappear for single zImage work,
      we need to remove plat/hardware.h.
      
      Do this by splitting plat/hardware.h into omap1 and omap2+ specific files.
      
      The old plat/hardware.h already has omap1 only defines, so it gets moved
      to mach/hardware.h for omap1. For omap2+, we use the local soc.h
      that for now just includes the related SoC headers to keep this patch more
      readable.
      
      Note that the local soc.h still includes plat/cpu.h that can be dealt
      with in later patches. Let's also include plat/serial.h from common.h for
      all the board-*.c files. This allows making the include files local later
      on without patching these files again.
      
      Note that only minimal changes are done in this patch for the
      drivers/watchdog/omap_wdt.c driver to keep things compiling. Further
      patches are needed to eventually remove cpu_is_omap usage in the drivers.
      
      Also only minimal changes are done to sound/soc/omap/* to remove the
      unneeded includes and to define OMAP44XX_MCPDM_L3_BASE locally so there's
      no need to include omap44xx.h.
      
      While at it, also sort some of the includes in the standard way.
      
      Cc: linux-watchdog@vger.kernel.org
      Cc: alsa-devel@alsa-project.org
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Acked-by: NWim Van Sebroeck <wim@iguana.be>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      dbc04161
    • T
      ARM: OMAP2+: Prepare for irqs.h removal · 7d7e1eba
      Tony Lindgren 提交于
      As the interrupts should only be defined in the platform_data, and
      eventually coming from device tree, there's no need to define them
      in header files.
      
      Let's remove the hardcoded references to irqs.h and fix up the includes
      so we don't rely on headers included in irqs.h. Note that we're
      defining OMAP_INTC_START as 0 to the interrupts. This will be needed
      when we enable SPARSE_IRQ. For some drivers we need to add
      #include <plat/cpu.h> for now until these drivers are fixed to
      remove cpu_is_omapxxxx() usage.
      
      While at it, sort som of the includes the standard way, and add
      the trailing commas where they are missing in the related data
      structures.
      
      Note that for drivers/staging/tidspbridge we just define things
      locally.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7d7e1eba
  7. 24 11月, 2011 1 次提交
  8. 05 11月, 2011 1 次提交
    • 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
  9. 05 10月, 2011 1 次提交
  10. 24 9月, 2011 5 次提交
    • S
      OMAP: Print Initiator name for l3 custom error. · 551a9fa9
      sricharan 提交于
      The initiator id gets logged in the l3 target registers for custom error.
      So print it to aid debugging.
      
      Based on a internal patch by Devaraj Rangasamy <dev@ti.com>
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      551a9fa9
    • S
      OMAP: Fix sparse warnings in l3 error handler. · 6616aac6
      sricharan 提交于
      Fix below sparse warnings from the l3-noc and l3-smx error handlers
      files.
      
      arch/arm/mach-omap2/omap_l3_smx.h:209:22: warning: symbol 'omap3_l3_app_bases' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_smx.h:308:22: warning: symbol 'omap3_l3_debug_bases' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_smx.h:325:2: warning: incorrect type in initializer (different address spaces)
      arch/arm/mach-omap2/omap_l3_smx.h:325:2:    expected unsigned int [usertype] *
      arch/arm/mach-omap2/omap_l3_smx.h:325:2:    got unsigned int [noderef] [toplevel] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_smx.h:326:2: warning: incorrect type in initializer (different address spaces)
      arch/arm/mach-omap2/omap_l3_smx.h:326:2:    expected unsigned int [usertype] *
      arch/arm/mach-omap2/omap_l3_smx.h:326:2:    got unsigned int [noderef] [toplevel] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_smx.h:324:5: warning: symbol 'omap3_l3_bases' was not declared. Should it be static?
        CC      arch/arm/mach-omap2/omap_l3_smx.o
        CHECK   arch/arm/mach-omap2/omap_l3_noc.c
      arch/arm/mach-omap2/omap_l3_noc.c:73:13: warning: symbol '__v' shadows an earlier one
      arch/arm/mach-omap2/omap_l3_noc.c:73:13: originally declared here
      arch/arm/mach-omap2/omap_l3_noc.c:83:20: warning: symbol '__v' shadows an earlier one
      arch/arm/mach-omap2/omap_l3_noc.c:83:20: originally declared here
      arch/arm/mach-omap2/omap_l3_noc.c:90:5: warning: symbol '__v' shadows an earlier one
      arch/arm/mach-omap2/omap_l3_noc.c:90:5: originally declared here
      arch/arm/mach-omap2/omap_l3_noc.h:39:5: warning: symbol 'l3_flagmux' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:46:5: warning: symbol 'l3_targ_inst_clk1' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:54:5: warning: symbol 'l3_targ_inst_clk2' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:75:5: warning: symbol 'l3_targ_inst_clk3' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:79:6: warning: symbol 'l3_targ_inst_name' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:112:5: warning: symbol 'l3_targ' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.c:72:11: warning: cast removes address space of expression
      arch/arm/mach-omap2/omap_l3_noc.c:73:13: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:73:13:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:73:13:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:83:20: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:83:20:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:83:20:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:90:5: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:90:5:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:90:5:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:96:5: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:96:5:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:96:5:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:108:5: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:108:5:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:108:5:    got unsigned int
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Reported-by: NPaul Walmsley <paul@pwsan.com>
      Reviewed-by: NPaul Walmsley <paul@pwsan.com>
      6616aac6
    • S
      OMAP: Fix indentation issues in l3 error handler. · ed0e3520
      sricharan 提交于
      The indentation problems in the l3 noc and smx
      error handler files are fixed.
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Reported-by: NPaul Walmsley <paul@pwsan.com>
      ed0e3520
    • T
      OMAP: Fix a BUG in l3 error handler. · c1df2dcc
      Todd Poynor 提交于
      With the current sequence of registering the irq and
      assigning it to the app_irq, debug_irq driver variables,
      there can be corner cases where the pending irq gets
      triggered immediately after registering, handler gets called
      resulting in a crash. So changed this sequence.
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NTodd Poynor <toddpoynor@google.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      c1df2dcc
    • T
      OMAP: Improve register access in L3 Error handler. · 342fd144
      Todd Poynor 提交于
      * Changed the way of accessing L3 target
        registers from standard base rather
        than relative to STDERRLOG_MAIN.
      
      * Use ffs() to find error source from
        the L3_FLAGMUX_REGERRn register.
      
      * Remove extra l3_base[] entry.
      
      * Modified L3 custom error message.
      Signed-off-by: NTodd Poynor <toddpoynor@google.com>
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      342fd144
  11. 03 5月, 2011 2 次提交
  12. 09 3月, 2011 1 次提交