/* * AD7879/AD7889 touchscreen (bus interfaces) * * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc. * * Licensed under the GPL-2 or later. */#ifndef _AD7879_H_#define _AD7879_H_#include <linux/types.h>structad7879;structdevice;structad7879_bus_ops{u16bustype;int(*read)(structdevice*dev,u8reg);int(*multi_read)(structdevice*dev,u8first_reg,u8count,u16*buf);int(*write)(structdevice*dev,u8reg,u16val);};