diff options
Diffstat (limited to 'src/mainboard/lenovo/x200/blc.c')
-rw-r--r-- | src/mainboard/lenovo/x200/blc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x200/blc.c b/src/mainboard/lenovo/x200/blc.c index 330f1bcdaf..655be567e6 100644 --- a/src/mainboard/lenovo/x200/blc.c +++ b/src/mainboard/lenovo/x200/blc.c @@ -38,8 +38,7 @@ int get_blc_values(const struct blc_pwm_t **entries) const char *mainboard_vbt_filename(void) { - struct device *gma = pcidev_path_on_root(PCI_DEVFN(0x2, 0)); - u16 pwm_freq = gma ? get_blc_pwm_freq_value(gm45_get_lvds_edid_str(gma)) : 0; + u16 pwm_freq = get_blc_pwm_freq_value(gm45_get_lvds_edid_str()); if (pwm_freq == 0) { printk(BIOS_DEBUG, |