]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - arch/mips/lasat/at93c.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / arch / mips / lasat / at93c.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1f21d2bd
BM
2/*
3 * Atmel AT93C46 serial eeprom driver
4 *
5 * Brian Murphy <brian.murphy@eicon.com>
6 *
7 */
8
9extern struct at93c_defs {
10 volatile u32 *reg;
11 volatile u32 *rdata_reg;
12 int rdata_shift;
13 int wdata_shift;
14 u32 cs;
15 u32 clk;
16} *at93c;
17
18u8 at93c_read(u8 addr);
19void at93c_write(u8 addr, u8 data);