summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2016-11-15 00:28:07 +0000
committergonzo <gonzo@FreeBSD.org>2016-11-15 00:28:07 +0000
commitfedf86339a84ca7705c7572a7d7c203af491e3d9 (patch)
tree097d7b2e07753a3558ef1a65cbc3a5e6507ca0b1 /sys/conf
parent2f3b02ff94eedd41a0a3852fa9590003ec255504 (diff)
downloadFreeBSD-src-fedf86339a84ca7705c7572a7d7c203af491e3d9.zip
FreeBSD-src-fedf86339a84ca7705c7572a7d7c203af491e3d9.tar.gz
MFC r308428:
Refactor FDT part of gpioled driver - Split driver in two parts: FDT and non-FDT - Instead of reattach gpioled nodes to GPIO bus use gpio_pin_get_by_ofw_idx and add ofwbus and simplebus as parrent buses Reviewed by: loos Differential Revision: https://reviews.freebsd.org/D8233
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index cc99bc3..99321d0 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1565,7 +1565,8 @@ dev/gpio/gpiobus.c optional gpio \
dev/gpio/gpioc.c optional gpio \
dependency "gpio_if.h"
dev/gpio/gpioiic.c optional gpioiic
-dev/gpio/gpioled.c optional gpioled
+dev/gpio/gpioled.c optional gpioled !fdt
+dev/gpio/gpioled_fdt.c optional gpioled fdt
dev/gpio/gpiospi.c optional gpiospi
dev/gpio/gpio_if.m optional gpio
dev/gpio/gpiobus_if.m optional gpio
OpenPOWER on IntegriCloud