Skip to contentSkip to conversation

linux-next: build failure after merge of the drm tree

PATCH Stephen Rothwell 2 participants 2 messages Dec 31, 2015

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

Hi Dave,

After merging the drm tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

ERROR: "vop_component_ops" [drivers/gpu/drm/rockchip/rockchip_vop_reg.ko] undefined!

Caused by commit

a67719d18229 ("drm/rockchip: vop: spilt register related into rockchip_reg_vop.c")

I have added the following fix patch for today (just because its Christmas :-)):

From: Stephen Rothwell <[email protected]>
Date: Thu, 31 Dec 2015 13:35:27 +1100
Subject: [PATCH] drm/rockchip: vop: export vop_component_ops to modules

Fixes a67719d18229 ("drm/rockchip: vop: spilt register related into rockchip_reg_vop.c")
---
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +1 -0
index d83bf87ba71e..f5b3da2f92d7 100644
@@ -1395,3 +1395,4 @@ const struct component_ops vop_component_ops = {
 	.bind = vop_bind,
 	.unbind = vop_unbind,
 };
+EXPORT_SYMBOL_GPL(vop_component_ops);
Signature · 5 lines
2.6.4

-- 
Cheers,
Stephen Rothwell                    [email protected]
Acked-by
#1 lore raw
Quoted 29 lines · Stephen Rothwell

Hi Dave,

After merging the drm tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

ERROR: "vop_component_ops" [drivers/gpu/drm/rockchip/rockchip_vop_reg.ko] undefined!

Caused by commit

a67719d18229 ("drm/rockchip: vop: spilt register related into rockchip_reg_vop.c")

I have added the following fix patch for today (just because its Christmas :-)):

From: Stephen Rothwell <[email protected]>
Date: Thu, 31 Dec 2015 13:35:27 +1100
Subject: [PATCH] drm/rockchip: vop: export vop_component_ops to modules

Fixes a67719d18229 ("drm/rockchip: vop: spilt register related into rockchip_reg_vop.c")
---
  drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +0 -0
index d83bf87ba71e..f5b3da2f92d7 100644

drivers/gpu/drm/rockchip/rockchip_drm_vop.c const struct component_ops vop_component_ops = { · line 1398

Quoted 4 lines
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +1 -0
@@ -1395,3 +1395,4 @@ const struct component_ops vop_component_ops = {
  	.bind = vop_bind,
  	.unbind = vop_unbind,
  };
+EXPORT_SYMBOL_GPL(vop_component_ops);

Hi Stephen

Thanks for the fix, Sorry for forgetting test it with modules, and

Hi Dave
Can you pick this one?

Thanks.:-)

Signature · 1 line
Mark Yao