summaryrefslogtreecommitdiffstats
path: root/commands/saveenv.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-03-05 15:13:41 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-05 15:17:13 +0100
commit85799d1b755ad3ea1fd80cecd913eea6b00a5c87 (patch)
treeb805d4a44fa952de290c63e463125e974f0dfdf1 /commands/saveenv.c
parent3d61b7b6a9b9967f4d3e64a985abd2500abb202d (diff)
downloadbarebox-85799d1b755ad3ea1fd80cecd913eea6b00a5c87.tar.gz
barebox-85799d1b755ad3ea1fd80cecd913eea6b00a5c87.tar.xz
clk: Treat NULL as dummy clocks
NULL pointers should be treated as dummy clocks as done in the kernel. Using a not fully filled in clk * array for of_clk_add_provider may result in NULL clks. When these are passed into the clk framework we should not crash. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/saveenv.c')
0 files changed, 0 insertions, 0 deletions