File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ struct raspberrypi_clk {
40
40
unsigned long max_rate ;
41
41
42
42
struct clk_hw pllb ;
43
- struct clk_lookup * pllb_arm_lookup ;
44
43
};
45
44
46
45
/*
@@ -238,6 +237,7 @@ static struct clk_fixed_factor raspberrypi_clk_pllb_arm = {
238
237
239
238
static int raspberrypi_register_pllb_arm (struct raspberrypi_clk * rpi )
240
239
{
240
+ struct clk_lookup * pllb_arm_lookup ;
241
241
int ret ;
242
242
243
243
ret = devm_clk_hw_register (rpi -> dev , & raspberrypi_clk_pllb_arm .hw );
@@ -246,9 +246,9 @@ static int raspberrypi_register_pllb_arm(struct raspberrypi_clk *rpi)
246
246
return ret ;
247
247
}
248
248
249
- rpi -> pllb_arm_lookup = clkdev_hw_create (& raspberrypi_clk_pllb_arm .hw ,
250
- NULL , "cpu0" );
251
- if (!rpi -> pllb_arm_lookup ) {
249
+ pllb_arm_lookup = clkdev_hw_create (& raspberrypi_clk_pllb_arm .hw ,
250
+ NULL , "cpu0" );
251
+ if (!pllb_arm_lookup ) {
252
252
dev_err (rpi -> dev , "Failed to initialize pllb_arm_lookup\n" );
253
253
return - ENOMEM ;
254
254
}
You can’t perform that action at this time.
0 commit comments