projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mips_5.18_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git]
/
arch
/
mips
/
lantiq
/
falcon
/
sysctrl.c
diff --git
a/arch/mips/lantiq/falcon/sysctrl.c
b/arch/mips/lantiq/falcon/sysctrl.c
index
64726c6
..
5204fc6
100644
(file)
--- a/
arch/mips/lantiq/falcon/sysctrl.c
+++ b/
arch/mips/lantiq/falcon/sysctrl.c
@@
-167,6
+167,8
@@
static inline void clkdev_add_sys(const char *dev, unsigned int module,
{
struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL);
+ if (!clk)
+ return;
clk->cl.dev_id = dev;
clk->cl.con_id = NULL;
clk->cl.clk = clk;