blob: bf629453e0953c475332f46776883ca91016abc8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Logitech PS/2++ mouse driver header
3 *
4 * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */
10
11#ifndef _LOGIPS2PP_H
12#define _LOGIPS2PP_H
13
Andres Salomon55e3d922007-03-10 01:39:54 -050014#ifdef CONFIG_MOUSE_PS2_LOGIPS2PP
Dmitry Torokhov190e2032015-12-02 11:02:39 -080015int ps2pp_detect(struct psmouse *psmouse, bool set_properties);
Andres Salomon55e3d922007-03-10 01:39:54 -050016#else
Dmitry Torokhov190e2032015-12-02 11:02:39 -080017static inline int ps2pp_detect(struct psmouse *psmouse, bool set_properties)
Andres Salomon55e3d922007-03-10 01:39:54 -050018{
19 return -ENOSYS;
20}
21#endif /* CONFIG_MOUSE_PS2_LOGIPS2PP */
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
23#endif