forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/arch/powerpc/platforms/8xx/pic.c
....@@ -125,7 +125,7 @@
125125 .xlate = mpc8xx_pic_host_xlate,
126126 };
127127
128
-int mpc8xx_pic_init(void)
128
+int __init mpc8xx_pic_init(void)
129129 {
130130 struct resource res;
131131 struct device_node *np;
....@@ -155,8 +155,8 @@
155155 ret = -ENOMEM;
156156 goto out;
157157 }
158
- return 0;
159158
159
+ ret = 0;
160160 out:
161161 of_node_put(np);
162162 return ret;