09 Nov, 2011

1 commit


08 Nov, 2011

2 commits

  • Fix below build error:

    CC drivers/hwspinlock/u8500_hsem.o
    drivers/hwspinlock/u8500_hsem.c: In function 'u8500_hsem_probe':
    drivers/hwspinlock/u8500_hsem.c:113: error: label 'free_state' used but not defined

    Signed-off-by: Axel Lin
    Signed-off-by: Ohad Ben-Cohen

    Axel Lin
     
  • Include module.h to fix below build error:

    CC drivers/hwspinlock/u8500_hsem.o
    drivers/hwspinlock/u8500_hsem.c:177: error: 'THIS_MODULE' undeclared here (not in a function)
    [...]
    drivers/hwspinlock/u8500_hsem.c:196: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
    drivers/hwspinlock/u8500_hsem.c:196: warning: function declaration isn't a prototype
    make[2]: *** [drivers/hwspinlock/u8500_hsem.o] Error 1
    make[1]: *** [drivers/hwspinlock] Error 2
    make: *** [drivers] Error 2

    Signed-off-by: Axel Lin
    Signed-off-by: Paul Gortmaker

    Axel Lin
     

22 Sep, 2011

1 commit

  • Add hwspinlock driver for U8500's Hsem hardware.

    At this point only HSem's protocol 1 is used (i.e. no interrupts).

    Signed-off-by: Mathieu Poirier
    Acked-by: Linus Walleij
    [ohad@wizery.com: adopt recent hwspin_lock_{un}register API changes]
    [ohad@wizery.com: set the owner member of the driver]
    [ohad@wizery.com: mark ->remove() function as __devexit]
    [ohad@wizery.com: write commit log]
    [ohad@wizery.com: small cleanups]
    Signed-off-by: Ohad Ben-Cohen

    Mathieu J. Poirier