/* SPDX-License-Identifier: GPL-2.0-only */ /* * Silicon Labs C2 port Linux support * * Copyright (c) 2007 Rodolfo Giometti <[email protected]> * Copyright (c) 2007 Eurotech S.p.A. <[email protected]> */ #define C2PORT_NAME_LEN … struct device; /* * C2 port basic structs */ /* Main struct */ struct c2port_ops; struct c2port_device { … }; /* Basic operations */ struct c2port_ops { … }; /* * Exported functions */ extern struct c2port_device *c2port_device_register(char *name, struct c2port_ops *ops, void *devdata); extern void c2port_device_unregister(struct c2port_device *dev);