08 Nov, 2011

3 commits

  • Tony Lindgren
     
  • Commit 32aaeffbd4a7457bf2f7448b33b5946ff2a960eb (Merge branch
    'modsplit-Oct31_2011'...) caused some build errors. Fix these
    and make sure we always have export.h or module.h included
    for MODULE_ and EXPORT_SYMBOL users:

    $ grep -rl ^MODULE_ arch/arm/*omap*/*.c | xargs \
    grep -L linux/module.h
    arch/arm/mach-omap2/dsp.c
    arch/arm/mach-omap2/mailbox.c
    arch/arm/mach-omap2/omap-iommu.c
    arch/arm/mach-omap2/smartreflex.c

    Also check we either have export.h or module.h included
    for the files exporting symbols:

    $ grep -rl EXPORT_SYMBOL arch/arm/*omap*/*.c | xargs \
    grep -L linux/export.h | xargs grep -L linux/module.h

    Cc: Russell King
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     
  • Include linux/export.h to fix below build warning:

    CC arch/arm/plat-omap/omap_device.o
    arch/arm/plat-omap/omap_device.c:1055: warning: data definition has no type or storage class
    arch/arm/plat-omap/omap_device.c:1055: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
    arch/arm/plat-omap/omap_device.c:1055: warning: parameter names (without types) in function declaration

    Signed-off-by: Axel Lin
    Signed-off-by: Tony Lindgren

    Axel Lin
     

07 Nov, 2011

6 commits

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds
     
  • * 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    scsi: drop unused Kconfig symbol
    pci: drop unused Kconfig symbol
    stmmac: drop unused Kconfig symbol
    x86: drop unused Kconfig symbol
    powerpc: drop unused Kconfig symbols
    powerpc: 40x: drop unused Kconfig symbol
    mips: drop unused Kconfig symbols
    openrisc: drop unused Kconfig symbols
    arm: at91: drop unused Kconfig symbol
    samples: drop unused Kconfig symbol
    m32r: drop unused Kconfig symbol
    score: drop unused Kconfig symbols
    sh: drop unused Kconfig symbol
    um: drop unused Kconfig symbol
    sparc: drop unused Kconfig symbol
    alpha: drop unused Kconfig symbol

    Fix up trivial conflict in drivers/net/ethernet/stmicro/stmmac/Kconfig
    as per Michal: the STMMAC_DUAL_MAC config variable is still unused and
    should be deleted.

    Linus Torvalds
     
  • * 'stable/vmalloc-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    net: xen-netback: use API provided by xenbus module to map rings
    block: xen-blkback: use API provided by xenbus module to map rings
    xen: use generic functions instead of xen_{alloc, free}_vm_area()

    Linus Torvalds
     
  • * 'rmobile-latest' of git://github.com/pmundt/linux-sh: (21 commits)
    ARM: mach-shmobile: ag5evm needs CONFIG_I2C
    ARM: mach-shmobile: sh73a0 and AG5EVM PINT support
    ARM: mach-shmobile: Add support for PINT though INTC macros
    ARM: mach-shmobile: SDHI0 GPIO hotplug for AG5EVM
    ARM: mach-shmobile: Use common INTC IRQ code on sh73a0
    ARM: mach-shmobile: Use common INTC IRQ code on sh7372
    ARM: mach-shmobile: Use common INTC IRQ code on sh7377
    ARM: mach-shmobile: Use common INTC IRQ code on sh7367
    ARM: mach-shmobile: sh73a0 GPIO IRQ support
    ARM: sh7372 ap4evb NOR Flash USB boot fix
    ARM: mach-shmobile: sh7372 Mackerel NOR Flash USB boot fix
    sh: intc: Allow triggering on both edges for ARM SoCs
    ARM: mach-shmobile: Break out INTC IRQ code
    ARM: mach-shmobile: Kota2 SDHI0 and SDHI1 support
    ARM: mach-shmobile: Kota2 SCIFA4 and SCIFB support
    ARM: mach-shmobile: Kota2 MMCIF support
    ARM: mach-shmobile: Kota2 GPIO LEDs support
    ARM: mach-shmobile: Kota2 GPIO Keys support
    ARM: mach-shmobile: Kota2 KEYSC support
    ARM: mach-shmobile: Kota2 SCIFA2 and SMSC911X support
    ...

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (106 commits)
    powerpc/p3060qds: Add support for P3060QDS board
    powerpc/83xx: Add shutdown request support to MCU handling on MPC8349 MITX
    powerpc/85xx: Make kexec to interate over online cpus
    powerpc/fsl_booke: Fix comment in head_fsl_booke.S
    powerpc/85xx: issue 15 EOI after core reset for FSL CoreNet devices
    powerpc/8xxx: Fix interrupt handling in MPC8xxx GPIO driver
    powerpc/85xx: Add 'fsl,pq3-gpio' compatiable for GPIO driver
    powerpc/86xx: Correct Gianfar support for GE boards
    powerpc/cpm: Clear muram before it is in use.
    drivers/virt: add ioctl for 32-bit compat on 64-bit to fsl-hv-manager
    powerpc/fsl_msi: add support for "msi-address-64" property
    powerpc/85xx: Setup secondary cores PIR with hard SMP id
    powerpc/fsl-booke: Fix settlbcam for 64-bit
    powerpc/85xx: Adding DCSR node to dtsi device trees
    powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
    powerpc/85xx: fix PHYS_64BIT selection for P1022DS
    powerpc/fsl-booke: Fix setup_initial_memory_limit to not blindly map
    powerpc: respect mem= setting for early memory limit setup
    powerpc: Update corenet64_smp_defconfig
    powerpc: Update mpc85xx/corenet 32-bit defconfigs
    ...

    Fix up trivial conflicts in:
    - arch/powerpc/configs/40x/hcu4_defconfig
    removed stale file, edited elsewhere
    - arch/powerpc/include/asm/udbg.h, arch/powerpc/kernel/udbg.c:
    added opal and gelic drivers vs added ePAPR driver
    - drivers/tty/serial/8250.c
    moved UPIO_TSI to powerpc vs removed UPIO_DWAPB support

    Linus Torvalds
     
  • * 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
    ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver
    ARM: PXA: fix gpio-pxa.h build errors
    ARM: 7142/1: davinci: mark GPIO implementation complex
    ARM: 7134/1: Revert "EXYNOS4: Fix routing timer interrupt to offline CPU"
    ARM: PXA: eseries: fix eseries_register_clks section mismatch warning
    ARM: PXA: fix lubbock PCMCIA driver build error

    Linus Torvalds
     

06 Nov, 2011

11 commits

  • The arch/arm/mach-exynos4 directory (CONFIG_ARCH_EXYNOS4) has
    made for plaforms based on EXYNOS4 SoCs. But since upcoming
    Samsung's SoCs such as EXYNOS5 (ARM Cortex A15) can reuse most
    codes in current mach-exynos4, one mach-exynos directory will
    be used for them.

    This patch changes to CONFIG_ARCH_EXYNOS (arch/arm/mach-exynos)
    but keeps original CONFIG_ARCH_EXYNOS4 in mach-exynos/Kconfig to
    avoid changing in driver side.

    Cc: Arnd Bergmann
    Cc: Russell King
    Signed-off-by: Kukjin Kim

    Kukjin Kim
     
  • MCT recently gained per cpu interrupts, and missed the fact that
    ARM has moved to a genirq based implementation.

    This patch converts the driver to the new API.

    Boot tested on Origen.

    Cc: Kukjin Kim
    Signed-off-by: Marc Zyngier
    Signed-off-by: Kukjin Kim

    Marc Zyngier
     
  • PWM timers use pclk("timers" clk) as parent clk. If this pclk is the
    disabled state when PWM driver is probed, then it causes wrong read and
    write operation about registers of PWM.

    Signed-off-by: Joonyoung Shim
    Signed-off-by: Kyungmin Park
    Signed-off-by: Kukjin Kim

    Joonyoung Shim
     
  • Fix following build error.
    arch/arm/plat-samsung/dev-backlight.c: In function 'samsung_bl_set':
    arch/arm/plat-samsung/dev-backlight.c:145: error: implicit declaration of function 'kfree'

    Signed-off-by: Jonghwan Choi
    Signed-off-by: Kukjin Kim

    Jonghwan Choi
     
  • * 'next/devel2' of git://git.linaro.org/people/arnd/arm-soc: (30 commits)
    ARM: mmp: register internal sram bank
    ARM: mmp: register audio sram bank
    ARM: mmp: add sram allocator
    gpio/samsung: Complain loudly if we don't know the SoC
    ARM: S3C64XX: Fix SoC identification for S3C64xx devices
    ARM: S3C2443: Remove redundant s3c_register_clocks call for init_clocks
    ARM: S3C24XX: Add devname for hsmmc1 pclk
    ARM: S3C24XX: use clk_get_rate to init fclk in common_setup_clocks
    ARM: S3C2443: Accommodate cpufreq frequency scheme in armdiv
    ARM: S3C2443: handle unset armdiv values gracefully
    ARM: S3C2443: Add get_rate operation for clk_armdiv
    ARM: S3C2416: Add comment describing the armdiv/armclk
    ARM: S3C2443: Move clk_arm and clk_armdiv to common code
    ARM: S3C24XX: Add infrastructure to transmit armdiv to common code
    ARM: S3C2416: Add armdiv_mask constant
    ARM: EXYNOS4: Add support for M-5MOLS camera on Nuri board
    ARM: EXYNOS4: Enable MFC on ORIGEN
    ARM: SAMSUNG: Add support s3c2416-adc for S3C2416/S3C2450
    ARM: SAMSUNG: Add support s3c2443-adc for S3C2443
    ARM: SAMSUNG: Allow overriding of adc device name for S3C24XX
    ...

    Linus Torvalds
     
  • * 'next/cleanup3' of git://git.linaro.org/people/arnd/arm-soc: (79 commits)
    ARM: SAMSUNG: Move fimc plat. device from board files to plat-samsung
    ARM: SAMSUNG: Cleanup resources by using macro
    ARM: SAMSUNG: Cleanup plat-samsung/devs.c and devs.h
    ARM: S5P: To merge devs.c files to one devs.c
    ARM: S3C64XX: To merge devs.c files to one devs.c
    ARM: S3C24XX: To merge s3c24xx devs.c files to one devs.c
    ARM: S5P64X0: Add Power Management support
    ARM: S5P: Make the sleep code common for S5P series SoCs
    ARM: S5P: Make the common S5P PM code conditionally compile
    ARM: SAMSUNG: Move S5P header files to plat-samsung
    ARM: SAMSUNG: Move S3C24XX header files to plat-samsung
    ARM: SAMSUNG: Moving each SoC support header files
    ARM: SAMSUNG: Consolidate plat/pll.h
    ARM: SAMSUNG: Consolidate plat/pwm-clock.h
    ARM: SAMSUNG: Cleanup mach/clkdev.h
    ARM: SAMSUNG: remove sdhci default configuration setup platform helper
    ARM: EXYNOS4: Add FIMC device on SMDKV310 board
    ARM: EXYNOS4: Add header file protection macros
    ARM: EXYNOS4: Add usb ehci device to the SMDKV310
    ARM: S3C2443: Add hsspi-clock from pclk and rename S3C2443 hsspi sclk
    ...

    Fix up conflicts in
    - arch/arm/mach-exynos4/{Kconfig,clock.c}
    ARM_CPU_SUSPEND, various random device tables (gah!)
    - drivers/gpio/Makefile
    sa1100 gpio added, samsung gpio drivers merged

    Linus Torvalds
     
  • A mismerge in 43872fa (Merge branch 'depends/rmk/gpio' into next/fixes)
    causes these build errors:

    In file included from arch/arm/mach-pxa/include/mach/gpio.h:30,
    from arch/arm/include/asm/gpio.h:6,
    from include/linux/gpio.h:31,
    from arch/arm/mach-pxa/generic.c:20:
    arch/arm/mach-pxa/include/mach/gpio-pxa.h: In function ■__gpio_is_occupied■:
    arch/arm/mach-pxa/include/mach/gpio-pxa.h:121: error: invalid operands to binary >> (have ■void *■ and ■unsigned int■)
    arch/arm/mach-pxa/include/mach/gpio-pxa.h:122: error: invalid operands to binary & (have ■void *■ and ■int■)
    arch/arm/mach-pxa/include/mach/gpio-pxa.h:129: error: invalid operands to binary & (have ■void *■ and ■int■)

    So fix them.

    Acked-by: Arnd Bergmann
    Signed-off-by: Russell King

    Russell King
     
  • When breaking apart the DaVinci GPIO files I accidentally
    marked it non-complex while it is indeed complex.

    Reported-by: Mike Frysinger
    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     
  • This reverts commit 4bd0fe1c78623062263cf5ae875fd484c5b8256d.

    This implementation can introduce a problem and 'ARM: SMP: fix
    per cpu timer setup before the cpu is marked online' patch can
    solve the cpu_oneline vs. cpu_active problem so that should be
    reverted.

    Signed-off-by: Kukjin Kim
    Signed-off-by: Russell King

    Kukjin Kim
     
  • Fix:

    WARNING: vmlinux.o(.text+0x1a820): Section mismatch in reference from the function eseries_register_clks() to the function .init.text:clkdev_add_table()
    The function eseries_register_clks() references
    the function __init clkdev_add_table().
    This is often because eseries_register_clks lacks a __init
    annotation or the annotation of clkdev_add_table is wrong.

    by adding the __init annotation to eseries_register_clks() - this
    function is only called from other __init-marked functions. While
    we're here, mark it static as it's only called from within eseries.c.

    Acked-by: Eric Miao
    Signed-off-by: Russell King

    Russell King
     
  • The mark of conflict should be removed.

    This happened at the commit fba9569924e0 ("Merge branch 'next' of
    git://git.infradead.org/users/vkoul/slave-dma")

    Signed-off-by: Kukjin Kim
    [ I always check the conflict resolution with "git diff" before I add
    the result, but I clearly missed that this time, and didn't notice the
    second conflict in that file after having fixed the first one.
    Oops, my bad. - Linus ]
    Signed-off-by: Linus Torvalds

    Kukjin Kim
     

05 Nov, 2011

20 commits

  • 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: Tony Lindgren

    Tony Lindgren
     
  • There is no use for omap-alsa.h and board-palmz71.c doesn't need it either.

    Signed-off-by: Jarkko Nikula
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • 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: Tony Lindgren

    Tony Lindgren
     
  • Remove the structure since a default one is now available.

    Signed-off-by: Benoit Cousson
    Cc: Kevin Hilman
    Signed-off-by: Tony Lindgren

    Benoit Cousson
     
  • The commit 318c3e15cd55c73a26ae22a65a8183655b3003f9
    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: Benoit Cousson
    Cc: Tarun Kanti DebBarma
    Signed-off-by: Tony Lindgren

    Benoit Cousson
     
  • 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: Thomas Weber
    Signed-off-by: Tony Lindgren

    Thomas Weber
     
  • Not in use anymore.

    Signed-off-by: Bjarne Steinsbo
    Acked-by: Felipe Balbi
    Signed-off-by: Tony Lindgren

    Bjarne Steinsbo
     
  • * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (63 commits)
    dmaengine: mid_dma: mask_peripheral_interrupt only when dmac is idle
    dmaengine/ep93xx_dma: add module.h include
    pch_dma: Reduce wasting memory
    pch_dma: Fix suspend issue
    dma/timberdale: free_irq() on an error path
    dma: shdma: transfer based runtime PM
    dmaengine: shdma: protect against the IRQ handler
    dmaengine i.MX DMA/SDMA: add missing include of linux/module.h
    dmaengine: delete redundant chan_id and chancnt initialization in dma drivers
    dmaengine/amba-pl08x: Check txd->llis_va before freeing dma_pool
    dmaengine/amba-pl08x: Add support for sg len greater than one for slave transfers
    serial: sh-sci: don't filter on DMA device, use only channel ID
    ARM: SAMSUNG: Remove Samsung specific enum type for dma direction
    ASoC: Samsung: Update DMA interface
    spi/s3c64xx: Merge dma control code
    spi/s3c64xx: Add support DMA engine API
    ARM: SAMSUNG: Remove S3C-PL330-DMA driver
    ARM: S5P64X0: Use generic DMA PL330 driver
    ARM: S5PC100: Use generic DMA PL330 driver
    ARM: S5PV210: Use generic DMA PL330 driver
    ...

    Fix up fairly trivial conflicts in
    - arch/arm/mach-exynos4/{Kconfig,clock.c}
    - arch/arm/mach-s5p64x0/dma.c

    Linus Torvalds
     
  • 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: Tomi Valkeinen
    Acked-by: Kevin Hilman
    Acked-by: Paul Walmsley
    [tony@atomide.com: updated to fix a warning with recent dmtimer changes]
    Signed-off-by: Tony Lindgren

    Tomi Valkeinen
     
  • Fix the typo, instead it should be SDMMC1
    USBC1 is not related to MMC1 I/Os

    Signed-off-by: Balaji T K
    Signed-off-by: Tony Lindgren

    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: Balaji T K
    Signed-off-by: Kishore Kadiyala
    Reported-by: Viswanath Puttagunta
    Signed-off-by: Tony Lindgren

    Balaji T K
     
  • Commit d6504acd2125984c61dce24727dd3842d0144015 ("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 and then subsequently by Abhilash K
    V , which caused SmartReflex IP blocks to be
    registered on SoCs that don't support them.

    Thanks to Russell King - ARM Linux for comments
    on a previous version of the patch.

    Signed-off-by: Paul Walmsley
    Cc: Chase Maupin
    Cc: Abhilash K V
    Cc: Russell King - ARM Linux
    Signed-off-by: Tony Lindgren

    Paul Walmsley
     
  • Commit 4d17aeb1c5b2375769446d13012a98e6d265ec13 ("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: Alexander Kinzer
    Signed-off-by: Laurent Pinchart
    [tony@atomide.com: updated to return pdev instead of od]
    Signed-off-by: Tony Lindgren

    Laurent Pinchart
     
  • 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: Axel Lin
    Signed-off-by: Tony Lindgren

    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: Axel Lin
    Signed-off-by: Tony Lindgren

    Axel Lin
     
  • Commit f718e2c034bf6ff872106344935006230764cb12 (ARM: OMAP2+: devices:
    Remove all omap_device_pm_latency structures) removed these structures.
    Commit 3528c58eb9e818b7821501afa2916eb12131994a (OMAP: omap_device:
    when building return platform_device instead of omap_device) now
    returns platform_device instead of omap_device.

    Fix up the omap-mcpdm init function since this part comes via sound
    tree, and there has been changes regarding to hwmod/omap_device_build.

    Signed-off-by: Peter Ujfalusi
    CC: Benoit Cousson
    CC: Kevin Hilman
    [tony@atomide.com: updated comments]
    Signed-off-by: Tony Lindgren

    Peter Ujfalusi
     
  • When customizing omap2plus_defconfig to build for only
    one board (omap3evm), I came across these warnings and
    errors (filenames truncated):

    arch/arm/mach-omap2/board-generic.c:76:20: warning: 'omap4_init' defined but not used
    arch/arm/mach-omap2/built-in.o: In function `omap2420_init_early':
    arch/arm/mach-omap2/io.c:364: undefined reference to `omap2_set_globals_242x'
    arch/arm/mach-omap2/io.c:366: undefined reference to `omap2xxx_voltagedomains_init'
    arch/arm/mach-omap2/io.c:367: undefined reference to `omap242x_powerdomains_init'
    arch/arm/mach-omap2/io.c:368: undefined reference to `omap242x_clockdomains_init'
    arch/arm/mach-omap2/io.c:369: undefined reference to `omap2420_hwmod_init'
    arch/arm/mach-omap2/built-in.o: In function `omap2430_init_early':
    arch/arm/mach-omap2/io.c:376: undefined reference to `omap2_set_globals_243x'
    arch/arm/mach-omap2/io.c:378: undefined reference to `omap2xxx_voltagedomains_init'
    arch/arm/mach-omap2/io.c:379: undefined reference to `omap243x_powerdomains_init'
    arch/arm/mach-omap2/io.c:380: undefined reference to `omap243x_clockdomains_init'
    arch/arm/mach-omap2/io.c:381: undefined reference to `omap2430_hwmod_init'
    arch/arm/mach-omap2/built-in.o: In function `omap4430_init_early':
    arch/arm/mach-omap2/io.c:436: undefined reference to `omap2_set_globals_443x'
    arch/arm/mach-omap2/io.c:438: undefined reference to `omap44xx_voltagedomains_init'
    arch/arm/mach-omap2/io.c:439: undefined reference to `omap44xx_powerdomains_init'
    arch/arm/mach-omap2/io.c:440: undefined reference to `omap44xx_clockdomains_init'
    arch/arm/mach-omap2/io.c:441: undefined reference to `omap44xx_hwmod_init'

    This patch fixes them.

    Signed-off-by: Sanjeev Premi
    Acked-by: Thomas Weber
    [tony@atomide.com: updated to fix warnings for board-generic.c]
    Signed-off-by: Tony Lindgren

    Sanjeev Premi
     
  • Tony Lindgren
     
  • Tony Lindgren
     
  • Tony Lindgren