mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
![Varka Bhadram](/assets/img/avatar_default.png)
This patch changes tha way of handling of cc2591-cc2520 combination by moving amplified variable from platform data to private data. This will be useful in other sections like tx power support. Signed-off-by: Varka Bhadram <varkab@cdac.in> Cc: Brad Campbell <bradjc5@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
26 lines
620 B
C
26 lines
620 B
C
/* Header file for cc2520 radio driver
|
|
*
|
|
* Copyright (C) 2014 Varka Bhadram <varkab@cdac.in>
|
|
* Md.Jamal Mohiuddin <mjmohiuddin@cdac.in>
|
|
* P Sowjanya <sowjanyap@cdac.in>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef __CC2520_H
|
|
#define __CC2520_H
|
|
|
|
struct cc2520_platform_data {
|
|
int fifo;
|
|
int fifop;
|
|
int cca;
|
|
int sfd;
|
|
int reset;
|
|
int vreg;
|
|
};
|
|
|
|
#endif
|