lkml.org 
[lkml]   [2013]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 15/15] OF: remove #ifdef from linux/of_platform.h
    Date
    On Saturday 01 June 2013, Rob Herring wrote:
    > On Fri, May 31, 2013 at 5:22 PM, Arnd Bergmann <arnd@arndb.de> wrote:
    > > A lot of code uses the functions from of_platform.h when built for
    > > devicetree-enabled platforms but can also be built without them.
    > > In order to avoid using #ifdef everywhere in drivers, this
    > > makes all the function declarations visible, which means we
    > > can use "if (IS_ENABLED(CONFIG_OF))" in driver code and get build
    > > coverage over the code but let the compiler drop the reference
    > > in the object code.
    > >
    > > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    > > Cc: Grant Likely <grant.likely@linaro.org>
    > > Cc: Rob Herring <rob.herring@calxeda.com>
    >
    > I've got a more complete series for 3.11 that removes OF_DEVICE and
    > of_platform_driver completely. I'm waiting on ack from Ben H.

    Ok. Does your series also remove the #ifdef CONFIG_OF part from this
    header?

    Arnd


    \
     
     \ /
      Last update: 2013-06-01 22:41    [W:4.227 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site