Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

driver/Makefile: Initialize "mtd" and "spi" before "net"

On TI's da850/omap-l138 EVM, MAC address is stored in SPI flash.

This patch changes the initialization sequence of the drivers
by moving mtd and spi ahead of net in drivers/Makefile thereby
enabling da850/omap-l138 ethernet driver to read the MAC address
while booting.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Sudhakar Rajashekhara and committed by
David Woodhouse
9289d4ef dfe32893

+2 -2
+2 -2
drivers/Makefile
··· 42 42 obj-$(CONFIG_IDE) += ide/ 43 43 obj-$(CONFIG_SCSI) += scsi/ 44 44 obj-$(CONFIG_ATA) += ata/ 45 + obj-$(CONFIG_MTD) += mtd/ 46 + obj-$(CONFIG_SPI) += spi/ 45 47 obj-y += net/ 46 48 obj-$(CONFIG_ATM) += atm/ 47 49 obj-$(CONFIG_FUSION) += message/ ··· 52 50 obj-$(CONFIG_UIO) += uio/ 53 51 obj-y += cdrom/ 54 52 obj-y += auxdisplay/ 55 - obj-$(CONFIG_MTD) += mtd/ 56 - obj-$(CONFIG_SPI) += spi/ 57 53 obj-$(CONFIG_PCCARD) += pcmcia/ 58 54 obj-$(CONFIG_DIO) += dio/ 59 55 obj-$(CONFIG_SBUS) += sbus/