linux/drivers/gnss/ubx.c

// SPDX-License-Identifier: GPL-2.0
/*
 * u-blox GNSS receiver driver
 *
 * Copyright (C) 2018 Johan Hovold <[email protected]>
 */

#include <linux/errno.h>
#include <linux/gnss.h>
#include <linux/gpio/consumer.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <linux/serdev.h>

#include "serial.h"

struct ubx_data {};

static int ubx_set_active(struct gnss_serial *gserial)
{}

static int ubx_set_standby(struct gnss_serial *gserial)
{}

static int ubx_set_power(struct gnss_serial *gserial,
				enum gnss_serial_pm_state state)
{}

static const struct gnss_serial_ops ubx_gserial_ops =;

static int ubx_probe(struct serdev_device *serdev)
{}

static void ubx_remove(struct serdev_device *serdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id ubx_of_match[] =;
MODULE_DEVICE_TABLE(of, ubx_of_match);
#endif

static struct serdev_device_driver ubx_driver =;
module_serdev_device_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();