uio: Statically allocate uio_class and use class .dev_attrs.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / of / Kconfig
blob6acbff389ab66c54e12f80a1831fedc41475de87
1 config DTC
2         bool
4 config OF
5         bool
7 menu "Flattened Device Tree and Open Firmware support"
8         depends on OF
10 config PROC_DEVICETREE
11         bool "Support for device tree in /proc"
12         depends on PROC_FS && !SPARC
13         help
14           This option adds a device-tree directory under /proc which contains
15           an image of the device tree that the kernel copies from Open
16           Firmware or other boot firmware. If unsure, say Y here.
18 config OF_FLATTREE
19         bool
20         select DTC
22 config OF_DYNAMIC
23         def_bool y
24         depends on PPC_OF
26 config OF_ADDRESS
27         def_bool y
28         depends on !SPARC
30 config OF_IRQ
31         def_bool y
32         depends on !SPARC
34 config OF_DEVICE
35         def_bool y
37 config OF_GPIO
38         def_bool y
39         depends on GPIOLIB && !SPARC
40         help
41           OpenFirmware GPIO accessors
43 config OF_I2C
44         def_tristate I2C
45         depends on I2C && !SPARC
46         help
47           OpenFirmware I2C accessors
49 config OF_SPI
50         def_tristate SPI
51         depends on SPI && !SPARC
52         help
53           OpenFirmware SPI accessors
55 config OF_MDIO
56         def_tristate PHYLIB
57         depends on PHYLIB
58         help
59           OpenFirmware MDIO bus (Ethernet PHY) accessors
61 endmenu # OF