lkml.org 
[lkml]   [2008]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH] Include kernel.h from configfs.h
    From

    configfs.h uses the container_of macro and as such should include kernel.h.

    Signed-Off-By: Ben Nizette <bn@niasdigital.com>
    ---
    diff --git a/include/linux/configfs.h b/include/linux/configfs.h
    index 8c6967f..4b287ad 100644
    --- a/include/linux/configfs.h
    +++ b/include/linux/configfs.h
    @@ -37,6 +37,7 @@

    #ifdef __KERNEL__

    +#include <linux/kernel.h>
    #include <linux/types.h>
    #include <linux/list.h>
    #include <linux/kref.h>



    \
     
     \ /
      Last update: 2008-02-11 13:19    [W:0.024 / U:32.512 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site