• Ben Dooks's avatar
    [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> · ec976d6e
    Ben Dooks authored
    Move all the gpio functions out of <mach/hardware.h> as
    this file is for defining the generic IO base addresses
    for the kernel IO calls.
    
    Make a new header <mach/gpio-fns.h> to take this and
    include it via the chain from <linux/gpio.h> which is
    what most of these files should be using (and will be
    changed as soon as possible).
    
    Note, this does make minor changes to some drivers but
    should not mess up any pending merges.
    
    CC: Richard Purdie <rpurdie@rpsys.net>
    Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    CC: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    ec976d6e
leds-s3c24xx.c 3.29 KB