mx25l: compat_data is only defined when FDT is
Reported by: O. Hartmann <ohartmann@walstatt.org>
This commit is contained in:
parent
2ac5ef02d4
commit
7de871aa81
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user