VirtualBox

Ignore:
Timestamp:
Jan 18, 2018 10:25:37 AM (7 years ago)
Author:
vboxsync
Message:

Make VBoxGuest-linux.c and vbox_mode.c build against Linux 4.15rc8.
bugref:9100: Drivers/Linux: Linux 4.15 updates
Thank you Larry Finger for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_mode.c

    r69748 r70624  
    402402        /* pick the encoder ids */
    403403        if (enc_id)
     404#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
     405        return drm_encoder_find(connector->dev, NULL, enc_id);
     406#else
    404407                return drm_encoder_find(connector->dev, enc_id);
     408#endif
    405409
    406410        return NULL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette