mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 00:01:35 +00:00 
			
		
		
		
	 7705d548cb
			
		
	
	
		7705d548cb
		
	
	
	
	
		
			
			DMI tables use considerable amount of memory. Mark them as __initconst so they will be discarded once module is loaded. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
		
			
				
	
	
		
			33 lines
		
	
	
		
			738 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			738 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Fujitsu B-series Lifebook PS/2 TouchScreen driver
 | |
|  *
 | |
|  * Copyright (c) 2005 Vojtech Pavlik
 | |
|  *
 | |
|  * This program is free software; you can redistribute it and/or modify it
 | |
|  * under the terms of the GNU General Public License version 2 as published by
 | |
|  * the Free Software Foundation.
 | |
|  */
 | |
| 
 | |
| #ifndef _LIFEBOOK_H
 | |
| #define _LIFEBOOK_H
 | |
| 
 | |
| #ifdef CONFIG_MOUSE_PS2_LIFEBOOK
 | |
| void lifebook_module_init(void);
 | |
| int lifebook_detect(struct psmouse *psmouse, bool set_properties);
 | |
| int lifebook_init(struct psmouse *psmouse);
 | |
| #else
 | |
| inline void lifebook_module_init(void)
 | |
| {
 | |
| }
 | |
| inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
 | |
| {
 | |
| 	return -ENOSYS;
 | |
| }
 | |
| inline int lifebook_init(struct psmouse *psmouse)
 | |
| {
 | |
| 	return -ENOSYS;
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif
 |