summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/Makefile
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-06-01 10:22:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 13:31:32 +0200
commit37768b054f2074f40de3cacd492baed482f5d9da (patch)
tree35d002a267bd214615d77631e16426dc9e65e41d /drivers/gnss/Makefile
parentdt-bindings: add generic gnss binding (diff)
downloadlinux-37768b054f2074f40de3cacd492baed482f5d9da.tar.xz
linux-37768b054f2074f40de3cacd492baed482f5d9da.zip
gnss: add generic serial driver
Add a generic serial GNSS driver (library) which provides a common implementation for the gnss interface and power management (runtime and system suspend). This allows GNSS drivers for specific chip to be implemented by simply providing a set_power() callback to handle three states: ACTIVE, STANDBY and OFF. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gnss/Makefile')
-rw-r--r--drivers/gnss/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gnss/Makefile b/drivers/gnss/Makefile
index 1f7a7baab1d9..171aba71684d 100644
--- a/drivers/gnss/Makefile
+++ b/drivers/gnss/Makefile
@@ -5,3 +5,6 @@
obj-$(CONFIG_GNSS) += gnss.o
gnss-y := core.o
+
+obj-$(CONFIG_GNSS_SERIAL) += gnss-serial.o
+gnss-serial-y := serial.o