linux/drivers/net/dsa/microchip/ksz9477_i2c.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Microchip KSZ9477 series register access through I2C
 *
 * Copyright (C) 2018-2019 Microchip Technology Inc.
 */

#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regmap.h>

#include "ksz_common.h"

KSZ_REGMAP_TABLE();

static int ksz9477_i2c_probe(struct i2c_client *i2c)
{}

static void ksz9477_i2c_remove(struct i2c_client *i2c)
{}

static void ksz9477_i2c_shutdown(struct i2c_client *i2c)
{}

static const struct i2c_device_id ksz9477_i2c_id[] =;

MODULE_DEVICE_TABLE(i2c, ksz9477_i2c_id);

static const struct of_device_id ksz9477_dt_ids[] =;
MODULE_DEVICE_TABLE(of, ksz9477_dt_ids);

static struct i2c_driver ksz9477_i2c_driver =;

module_i2c_driver();

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