mx25l: compat_data is only defined when FDT is

Reported by:	O. Hartmann <ohartmann@walstatt.org>
This commit is contained in:
Emmanuel Vadot 2018-06-14 19:01:40 +00:00
parent 2ac5ef02d4
commit 7de871aa81

View File

@ -684,4 +684,6 @@ static driver_t mx25l_driver = {
DRIVER_MODULE(mx25l, spibus, mx25l_driver, mx25l_devclass, 0, 0);
MODULE_DEPEND(mx25l, spibus, 1, 1, 1);
#ifdef FDT
SPIBUS_PNP_INFO(compat_data);
#endif