summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/Makefile
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-12-20 12:19:00 +0100
committerJohan Hovold <johan@kernel.org>2021-12-22 15:36:39 +0100
commitee4736e50ba261944ddae75469b3eb47a9e2847d (patch)
tree5de333c4b8881c7717fd0e7cedb2a437db7f6cca /drivers/gnss/Makefile
parentb15c90153fd906af6e70821a301e78d379bd482d (diff)
downloadlinux-stable-ee4736e50ba261944ddae75469b3eb47a9e2847d.tar.gz
linux-stable-ee4736e50ba261944ddae75469b3eb47a9e2847d.tar.bz2
linux-stable-ee4736e50ba261944ddae75469b3eb47a9e2847d.zip
gnss: add USB support
Add a generic driver for GNSS receivers with a USB interface with two bulk endpoints. The driver currently assumes that the device protocol is NMEA (only) but this can be generalised later as needed. Link: https://lore.kernel.org/r/20211220111901.23206-2-johan@kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Tested-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Johan Hovold <johan@kernel.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 451f11401ecc..bb2cbada3435 100644
--- a/drivers/gnss/Makefile
+++ b/drivers/gnss/Makefile
@@ -17,3 +17,6 @@ gnss-sirf-y := sirf.o
obj-$(CONFIG_GNSS_UBX_SERIAL) += gnss-ubx.o
gnss-ubx-y := ubx.o
+
+obj-$(CONFIG_GNSS_USB) += gnss-usb.o
+gnss-usb-y := usb.o