blob: 7dc3abe664648eeec97b303d4c75488fadd04bf9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the kernel character device drivers.
4#
5
Greg Kroah-Hartman96fd7ce2010-11-04 11:10:29 -07006obj-y += mem.o random.o
Samo Pogacnik24b4b672010-08-25 20:44:07 +02007obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-y += misc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07009obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
Amit Shah51df0ac2011-02-01 09:31:25 +053010obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011obj-$(CONFIG_RAW_DRIVER) += raw.o
Greg Howard67639de2005-04-25 13:28:52 -070012obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
Jes Sorensen17a3b052006-09-27 01:50:11 -070013obj-$(CONFIG_MSPEC) += mspec.o
Dimitri Sivanichfbd8ae12009-09-23 15:57:15 -070014obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o
Sonny Raofe9e8d52008-07-08 15:45:11 +100015obj-$(CONFIG_IBM_BSR) += bsr.o
Bruce Losuree1e19742005-04-25 13:09:41 -070016obj-$(CONFIG_SGI_MBCS) += mbcs.o
Mike Frysinger2dc63a82008-04-25 08:04:56 +080017obj-$(CONFIG_BFIN_OTP) += bfin-otp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Jim Cromie53813152006-03-24 18:10:34 +010019obj-$(CONFIG_PRINTER) += lp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Ralf Baechle77269422007-02-09 17:08:57 +000021obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
22
Jim Cromie53813152006-03-24 18:10:34 +010023obj-$(CONFIG_DTLK) += dtlk.o
Jim Cromie53813152006-03-24 18:10:34 +010024obj-$(CONFIG_APPLICOM) += applicom.o
25obj-$(CONFIG_SONYPI) += sonypi.o
26obj-$(CONFIG_RTC) += rtc.o
27obj-$(CONFIG_HPET) += hpet.o
Jim Cromie53813152006-03-24 18:10:34 +010028obj-$(CONFIG_EFI_RTC) += efirtc.o
Jim Cromie53813152006-03-24 18:10:34 +010029obj-$(CONFIG_DS1302) += ds1302.o
Stephen Neuendorfferef141a02008-02-06 04:24:09 +110030obj-$(CONFIG_XILINX_HWICAP) += xilinx_hwicap/
Linus Torvalds1da177e2005-04-16 15:20:36 -070031ifeq ($(CONFIG_GENERIC_NVRAM),y)
Jim Cromie53813152006-03-24 18:10:34 +010032 obj-$(CONFIG_NVRAM) += generic_nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070033else
Jim Cromie53813152006-03-24 18:10:34 +010034 obj-$(CONFIG_NVRAM) += nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070035endif
Jim Cromie53813152006-03-24 18:10:34 +010036obj-$(CONFIG_TOSHIBA) += toshiba.o
Jim Cromie53813152006-03-24 18:10:34 +010037obj-$(CONFIG_DS1620) += ds1620.o
Michael Buesch844dd052006-06-26 00:24:59 -070038obj-$(CONFIG_HW_RANDOM) += hw_random/
Jim Cromie53813152006-03-24 18:10:34 +010039obj-$(CONFIG_PPDEV) += ppdev.o
40obj-$(CONFIG_NWBUTTON) += nwbutton.o
41obj-$(CONFIG_NWFLASH) += nwflash.o
Jim Cromie7a8e2a52006-06-27 02:54:27 -070042obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
43obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
44obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
Yoichi Yuasa09762512007-05-06 14:51:58 -070045obj-$(CONFIG_GPIO_TB0219) += tb0219.o
Jim Cromie53813152006-03-24 18:10:34 +010046obj-$(CONFIG_TELCLOCK) += tlclk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
Jim Cromie53813152006-03-24 18:10:34 +010048obj-$(CONFIG_MWAVE) += mwave/
Ville Syrjälä00fe6392013-11-05 14:00:08 +020049obj-y += agp/
Jim Cromie53813152006-03-24 18:10:34 +010050obj-$(CONFIG_PCMCIA) += pcmcia/
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
Jim Cromie53813152006-03-24 18:10:34 +010052obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
53obj-$(CONFIG_TCG_TPM) += tpm/
54
Geert Uytterhoevenf9652632007-07-21 04:37:48 -070055obj-$(CONFIG_PS3_FLASH) += ps3flash.o
56
Al Viro22405982007-07-22 00:37:48 -070057obj-$(CONFIG_JS_RTC) += js-rtc.o
58js-rtc-y = rtc.o
Chris Metcalfdbcb4a12011-06-10 13:07:48 -040059
60obj-$(CONFIG_TILE_SROM) += tile-srom.o
Eli Billauer70519242014-09-09 09:36:04 +030061obj-$(CONFIG_XILLYBUS) += xillybus/
Suraj Jitindar Singh43a1dd92016-06-29 13:38:39 +100062obj-$(CONFIG_POWERNV_OP_PANEL) += powernv-op-panel.o