Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 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 Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 14 | #ifdef CONFIG_MOUSE_PS2_LOGIPS2PP |
Dmitry Torokhov | 190e203 | 2015-12-02 11:02:39 -0800 | [diff] [blame] | 15 | int ps2pp_detect(struct psmouse *psmouse, bool set_properties); |
Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 16 | #else |
Dmitry Torokhov | 190e203 | 2015-12-02 11:02:39 -0800 | [diff] [blame] | 17 | static inline int ps2pp_detect(struct psmouse *psmouse, bool set_properties) |
Andres Salomon | 55e3d92 | 2007-03-10 01:39:54 -0500 | [diff] [blame] | 18 | { |
| 19 | return -ENOSYS; |
| 20 | } |
| 21 | #endif /* CONFIG_MOUSE_PS2_LOGIPS2PP */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | |
| 23 | #endif |