lkml.org 
[lkml]   [2008]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] Add missing macro argument for devm_release_* family
    Date
    From: ext Hiroshi DOYU <Hiroshi.DOYU@nokia.com>

    Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
    ---
    include/linux/ioport.h | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/include/linux/ioport.h b/include/linux/ioport.h
    index 22d2115..c813c63 100644
    --- a/include/linux/ioport.h
    +++ b/include/linux/ioport.h
    @@ -158,9 +158,9 @@ extern struct resource * __devm_request_region(struct device *dev,
    struct resource *parent, resource_size_t start,
    resource_size_t n, const char *name);

    -#define devm_release_region(start,n) \
    +#define devm_release_region(dev,start,n) \
    __devm_release_region(dev, &ioport_resource, (start), (n))
    -#define devm_release_mem_region(start,n) \
    +#define devm_release_mem_region(dev,start,n) \
    __devm_release_region(dev, &iomem_resource, (start), (n))

    extern void __devm_release_region(struct device *dev, struct resource *parent,
    --
    1.5.5.1.357.g1af8b


    \
     
     \ /
      Last update: 2008-09-06 03:03    [W:0.082 / U:0.140 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site