1. 16 5月, 2016 1 次提交
    • G
      drivers/of: Split unflatten_dt_node() · dfbd4c6e
      Gavin Shan 提交于
      The function unflatten_dt_node() is called recursively to unflatten
      device nodes and properties in the FDT blob. It looks complicated
      and hard to be understood.
      
      This splits the function into 3 functions: populate_properties(),
      populate_node() and unflatten_dt_node(). populate_properties(),
      which is called by populate_node(), creates properties for the
      indicated device node. The later one creates the device nodes
      from FDT blob. populate_node() gets the offset in FDT blob for
      next device nodes and then calls populate_node(). No logical
      changes introduced.
      Signed-off-by: NGavin Shan <gwshan@linux.vnet.ibm.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      dfbd4c6e
  2. 02 5月, 2016 1 次提交
    • A
      of: include errno.h in of_graph.h · 011d6f5c
      Arnd Bergmann 提交于
      When CONFIG_OF is disabled, we have to include linux/errno.h before
      including of_graph.h, or get build errors like in the newly added
      sun4i drm driver:
      
      In file included from ../drivers/gpu/drm/sun4i/sun4i_drv.c:14:0:
      include/linux/of_graph.h: In function 'of_graph_parse_endpoint':
      include/linux/of_graph.h:58:10: error: 'ENOSYS' undeclared (first use in this function)
      
      A better solution is to ensure that the header can be included
      by itself, so let's include linux/errno.h here to fix the error
      we just got, and any similar future error.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 9026e0d1 ("drm: Add Allwinner A10 Display Engine support")
      Signed-off-by: NRob Herring <robh@kernel.org>
      011d6f5c
  3. 25 4月, 2016 21 次提交
  4. 20 4月, 2016 16 次提交
  5. 01 4月, 2016 1 次提交