]> git.dujemihanovic.xyz Git - u-boot.git/commit
device: make device_register() clone the device
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 1 Sep 2008 15:11:26 +0000 (17:11 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 1 Sep 2008 23:28:18 +0000 (01:28 +0200)
commit628ffd73bcff0c9f3bc5a8eeb2c7455fe9d28a51
treeb7fed06affccfa97aae1344c6f4f5026440513fb
parente99e9575bbeba1b7c48e046547cae065ec0071de
device: make device_register() clone the device

This is expected by the callers, but this fact was hidden well within
the old list implementation.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/devices.c
include/devices.h