mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Dmitry Eremin-Solenikov](/assets/img/avatar_default.png)
In the end asm/mach/irda.h header is not used by anybody except sa1100. Move the header to the platform data includes dir and rename it to irda-sa11x0.h. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
557 B
C
20 lines
557 B
C
/*
|
|
* arch/arm/include/asm/mach/irda.h
|
|
*
|
|
* Copyright (C) 2004 Russell King.
|
|
*
|
|
* 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 __ASM_ARM_MACH_IRDA_H
|
|
#define __ASM_ARM_MACH_IRDA_H
|
|
|
|
struct irda_platform_data {
|
|
int (*startup)(struct device *);
|
|
void (*shutdown)(struct device *);
|
|
int (*set_power)(struct device *, unsigned int state);
|
|
void (*set_speed)(struct device *, unsigned int speed);
|
|
};
|
|
|
|
#endif
|