|
|
@ -133,6 +133,11 @@ error: |
|
|
|
return -ENOMEM; |
|
|
|
return -ENOMEM; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int consumerir_get_num_carrier_freqs(UNUSED struct consumerir_device *dev) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return ARRAY_SIZE(consumerir_freqs); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static int consumerir_get_carrier_freqs(struct consumerir_device *dev, |
|
|
|
static int consumerir_get_carrier_freqs(struct consumerir_device *dev, |
|
|
|
size_t len, consumerir_freq_range_t *ranges) |
|
|
|
size_t len, consumerir_freq_range_t *ranges) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -151,11 +156,6 @@ static int consumerir_close(hw_device_t *dev) |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static int consumerir_get_num_carrier_freqs(UNUSED struct consumerir_device *dev) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return ARRAY_SIZE(consumerir_freqs); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Generic device handling |
|
|
|
* Generic device handling |
|
|
|
*/ |
|
|
|
*/ |
|
|
|