mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 06:06:40 +07:00
1a1bc59c5f
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>
27 lines
620 B
C
27 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
|