Only call xf86platformVTProbe() when it's defined
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Wed, 24 Apr 2013 22:24:31 +0000 (15:24 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 26 Apr 2013 04:44:09 +0000 (21:44 -0700)
commit9878e097a7de2f86eff0dcfd9fe5d83b162197ec
tree6dbea9888f247d05d7217a7ac3c49761f8a4bd8b
parent2b361fbda536f0125e4b87a6d455acc58f4e8690
Only call xf86platformVTProbe() when it's defined

Fixes build on non-udev systems, since XSERVER_PLATFORM_BUS is only
defined in configure.ac if $CONFIG_UDEV_KMS is true.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
hw/xfree86/common/xf86Events.c