11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the Linux kernel device drivers. 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds# 15 Sep 2000, Christoph Hellwig <hch@infradead.org> 51da177e4SLinus Torvalds# Rewritten to use lists instead of if-statements. 61da177e4SLinus Torvalds# 71da177e4SLinus Torvalds 889214f00SSimon Arlottobj-y += irqchip/ 926a84b3eSKishon Vijay Abraham Iobj-y += bus/ 1089214f00SSimon Arlott 11ff764963SKishon Vijay Abraham Iobj-$(CONFIG_GENERIC_PHY) += phy/ 12ff764963SKishon Vijay Abraham I 132744e8afSLinus Walleij# GPIO must come after pinctrl as gpios may need to mux pins etc 142744e8afSLinus Walleijobj-y += pinctrl/ 157444a72eSMichael Bueschobj-y += gpio/ 160c2498f1SSascha Hauerobj-y += pwm/ 176015d2c4SLinus Torvaldsobj-$(CONFIG_PCI) += pci/ 181da177e4SLinus Torvaldsobj-$(CONFIG_PARISC) += parisc/ 19394b701cSMatt Porterobj-$(CONFIG_RAPIDIO) += rapidio/ 201da177e4SLinus Torvaldsobj-y += video/ 2126717172SLen Brownobj-y += idle/ 22061475b6SMatthew Garrett 23061475b6SMatthew Garrett# IPMI must come before ACPI in order to provide IPMI opregion support 24061475b6SMatthew Garrettobj-$(CONFIG_IPMI_HANDLER) += char/ipmi/ 25061475b6SMatthew Garrett 26888ba6c6SLen Brownobj-$(CONFIG_ACPI) += acpi/ 276ae6996aSFeng Tangobj-$(CONFIG_SFI) += sfi/ 281da177e4SLinus Torvalds# PnP must come after ACPI since it will eventually need to check if acpi 291da177e4SLinus Torvalds# was used and do nothing if so 301da177e4SLinus Torvaldsobj-$(CONFIG_PNP) += pnp/ 3187d0bab2SHiroshi DOYUobj-y += amba/ 32a0eb221aSLinus Walleij# Many drivers will want to use DMA so this has to be made available 33a0eb221aSLinus Walleij# really early. 349a322993SPhilippe De Muyterobj-$(CONFIG_DMADEVICES) += dma/ 351da177e4SLinus Torvalds 363a6e0821SSantosh Shilimkar# SOC specific infrastructure drivers. 373a6e0821SSantosh Shilimkarobj-y += soc/ 383a6e0821SSantosh Shilimkar 39e2dbe06cSStijn Tintelobj-$(CONFIG_VIRTIO) += virtio/ 40ad9a8612SJeremy Fitzhardingeobj-$(CONFIG_XEN) += xen/ 41ad9a8612SJeremy Fitzhardinge 429f4dab49SDavid Brownell# regulators early, since some subsystems rely on them to initialize 439f4dab49SDavid Brownellobj-$(CONFIG_REGULATOR) += regulator/ 449f4dab49SDavid Brownell 4561fc4131SPhilipp Zabel# reset controllers early, since gpu drivers might rely on them to initialize 4661fc4131SPhilipp Zabelobj-$(CONFIG_RESET_CONTROLLER) += reset/ 4761fc4131SPhilipp Zabel 48ab4382d2SGreg Kroah-Hartman# tty/ comes before char/ so that the VT console is the boot-time 491da177e4SLinus Torvalds# default. 5096fd7ce5SGreg Kroah-Hartmanobj-y += tty/ 511da177e4SLinus Torvaldsobj-y += char/ 521da177e4SLinus Torvalds 53e6b51632SDave Airlie# gpu/ comes after char for AGP vs DRM startup 54e6b51632SDave Airlieobj-y += gpu/ 55e6b51632SDave Airlie 567672d0b5SEvgeniy Polyakovobj-$(CONFIG_CONNECTOR) += connector/ 577672d0b5SEvgeniy Polyakov 581da177e4SLinus Torvalds# i810fb and intelfb depend on char/agp/ 59f7018c21STomi Valkeinenobj-$(CONFIG_FB_I810) += video/fbdev/i810/ 60f7018c21STomi Valkeinenobj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/ 611da177e4SLinus Torvalds 621da177e4SLinus Torvaldsobj-$(CONFIG_PARPORT) += parport/ 630329326eSMatti J. Aaltonenobj-y += base/ block/ misc/ mfd/ nfc/ 641da177e4SLinus Torvaldsobj-$(CONFIG_NUBUS) += nubus/ 6545941d04SSoeren Sonnenburgobj-y += macintosh/ 661da177e4SLinus Torvaldsobj-$(CONFIG_IDE) += ide/ 671da177e4SLinus Torvaldsobj-$(CONFIG_SCSI) += scsi/ 68c6fd2807SJeff Garzikobj-$(CONFIG_ATA) += ata/ 69c66ac9dbSNicholas Bellingerobj-$(CONFIG_TARGET_CORE) += target/ 709289d4efSSudhakar Rajashekharaobj-$(CONFIG_MTD) += mtd/ 719289d4efSSudhakar Rajashekharaobj-$(CONFIG_SPI) += spi/ 725a86bf34SKenneth Heitkeobj-$(CONFIG_SPMI) += spmi/ 73a056ab8cSCarlos Chineaobj-y += hsi/ 740c406263SArjan van de Venobj-y += net/ 750c406263SArjan van de Venobj-$(CONFIG_ATM) += atm/ 761da177e4SLinus Torvaldsobj-$(CONFIG_FUSION) += message/ 778702d33aSStefan Richterobj-y += firewire/ 78beafc54cSHans J. Kochobj-$(CONFIG_UIO) += uio/ 79cba3345cSAlex Williamsonobj-$(CONFIG_VFIO) += vfio/ 801da177e4SLinus Torvaldsobj-y += cdrom/ 8170e84049SMiguel Ojeda Sandonisobj-y += auxdisplay/ 821da177e4SLinus Torvaldsobj-$(CONFIG_PCCARD) += pcmcia/ 831da177e4SLinus Torvaldsobj-$(CONFIG_DIO) += dio/ 841da177e4SLinus Torvaldsobj-$(CONFIG_SBUS) += sbus/ 851da177e4SLinus Torvaldsobj-$(CONFIG_ZORRO) += zorro/ 861da177e4SLinus Torvaldsobj-$(CONFIG_ATA_OVER_ETH) += block/aoe/ 871da177e4SLinus Torvaldsobj-$(CONFIG_PARIDE) += block/paride/ 881da177e4SLinus Torvaldsobj-$(CONFIG_TC) += tc/ 89ae5d82cbSDavid Vrabelobj-$(CONFIG_UWB) += uwb/ 90edc7cb2eSFelipe Balbiobj-$(CONFIG_USB_PHY) += usb/ 911da177e4SLinus Torvaldsobj-$(CONFIG_USB) += usb/ 926015d2c4SLinus Torvaldsobj-$(CONFIG_PCI) += usb/ 934661ffc9SFelipe Balbiobj-$(CONFIG_USB_GADGET) += usb/ 9451c38f9bSDmitry Torokhovobj-$(CONFIG_SERIO) += input/serio/ 951da177e4SLinus Torvaldsobj-$(CONFIG_GAMEPORT) += input/gameport/ 961da177e4SLinus Torvaldsobj-$(CONFIG_INPUT) += input/ 971da177e4SLinus Torvaldsobj-$(CONFIG_I2O) += message/ 98c58411e9SAlessandro Zummoobj-$(CONFIG_RTC_LIB) += rtc/ 99a357482aSGuennadi Liakhovetskiobj-y += i2c/ media/ 100eae9d2baSRodolfo Giomettiobj-$(CONFIG_PPS) += pps/ 101d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK) += ptp/ 1021da177e4SLinus Torvaldsobj-$(CONFIG_W1) += w1/ 1034a11b59dSAnton Vorontsovobj-$(CONFIG_POWER_SUPPLY) += power/ 104ad2f931dSJean Delvareobj-$(CONFIG_HWMON) += hwmon/ 105203d3d4aSZhang Ruiobj-$(CONFIG_THERMAL) += thermal/ 106b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG) += watchdog/ 1071da177e4SLinus Torvaldsobj-$(CONFIG_MD) += md/ 1081da177e4SLinus Torvaldsobj-$(CONFIG_BT) += bluetooth/ 109f7511d5fSSamuel Thibaultobj-$(CONFIG_ACCESSIBILITY) += accessibility/ 1101da177e4SLinus Torvaldsobj-$(CONFIG_ISDN) += isdn/ 111da9bb1d2SAlan Coxobj-$(CONFIG_EDAC) += edac/ 1121da177e4SLinus Torvaldsobj-$(CONFIG_EISA) += eisa/ 1137ea08093SGlauber de Oliveira Costaobj-y += lguest/ 1141da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ) += cpufreq/ 1154f86d3a8SLen Brownobj-$(CONFIG_CPU_IDLE) += cpuidle/ 11652c506f0SAdrian Hunterobj-y += mmc/ 117baf8532aSAlex Dubovobj-$(CONFIG_MEMSTICK) += memstick/ 1184440673aSUwe Kleine-Königobj-y += leds/ 1191da177e4SLinus Torvaldsobj-$(CONFIG_INFINIBAND) += infiniband/ 120466575f4SJes Sorensenobj-$(CONFIG_SGI_SN) += sn/ 1211da177e4SLinus Torvaldsobj-y += firmware/ 1221da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO) += crypto/ 123e87eaad1SPaul Mundtobj-$(CONFIG_SUPERH) += sh/ 1243c90c55dSGeert Uytterhoevenobj-$(CONFIG_ARCH_SHMOBILE) += sh/ 125592913ecSJohn Stultzifndef CONFIG_ARCH_USES_GETTIMEOFFSET 126592913ecSJohn Stultzobj-y += clocksource/ 127592913ecSJohn Stultzendif 1287589670fSShannon Nelsonobj-$(CONFIG_DCA) += dca/ 12963f3861dSJiri Kosinaobj-$(CONFIG_HID) += hid/ 130eb30c720SGeert Uytterhoevenobj-$(CONFIG_PPC_PS3) += ps3/ 13197e873e5SStephen Rothwellobj-$(CONFIG_OF) += of/ 13261e115a5SMichael Bueschobj-$(CONFIG_SSB) += ssb/ 1338369ae33SRafał Miłeckiobj-$(CONFIG_BCMA) += bcma/ 134f87d0fbbSRusty Russellobj-$(CONFIG_VHOST_RING) += vhost/ 13555e331cfSFlorian Fainelliobj-$(CONFIG_VLYNQ) += vlynq/ 13635045589SGreg Kroah-Hartmanobj-$(CONFIG_STAGING) += staging/ 13741b16dceSLen Brownobj-y += platform/ 1386d803ba7SJean-Christop PLAGNIOL-VILLARD#common clk code 1396d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y += clk/ 140bd9a4c7dSOhad Ben-Cohen 14130058677SRob Herringobj-$(CONFIG_MAILBOX) += mailbox/ 142bd9a4c7dSOhad Ben-Cohenobj-$(CONFIG_HWSPINLOCK) += hwspinlock/ 1436b385b46SJoerg Roedelobj-$(CONFIG_IOMMU_SUPPORT) += iommu/ 144400e64dfSOhad Ben-Cohenobj-$(CONFIG_REMOTEPROC) += remoteproc/ 145bcabbccaSOhad Ben-Cohenobj-$(CONFIG_RPMSG) += rpmsg/ 1466db71994STimur Tabi 1476db71994STimur Tabi# Virtualization drivers 1486db71994STimur Tabiobj-$(CONFIG_VIRT_DRIVERS) += virt/ 14946a97191SGreg Kroah-Hartmanobj-$(CONFIG_HYPERV) += hv/ 150a3c98b8bSMyungJoo Ham 151a3c98b8bSMyungJoo Hamobj-$(CONFIG_PM_DEVFREQ) += devfreq/ 152de55d871SMyungJoo Hamobj-$(CONFIG_EXTCON) += extcon/ 1537ec94453SAneesh Vobj-$(CONFIG_MEMORY) += memory/ 154a980e046SJonathan Cameronobj-$(CONFIG_IIO) += iio/ 155db3b9e99SGreg Kroah-Hartmanobj-$(CONFIG_VME_BUS) += vme/ 15605e5027eSGreg Kroah-Hartmanobj-$(CONFIG_IPACK_BUS) += ipack/ 157fce8a7bbSJon Masonobj-$(CONFIG_NTB) += ntb/ 1589c9f32edSAlessandro Rubiniobj-$(CONFIG_FMC) += fmc/ 15912cc4b38SSrinivas Pandruvadaobj-$(CONFIG_POWERCAP) += powercap/ 1603764e82eSJohannes Thumshirnobj-$(CONFIG_MCB) += mcb/ 161*76ac8275SChen, Gongobj-$(CONFIG_RAS) += ras/ 162