summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-07-15 11:11:01 -0700
committerGlenn Kasten <gkasten@google.com>2014-07-15 11:17:19 -0700
commit6c2a68d081a6bfc67dafd5288e9ad0e7c267ed20 (patch)
tree1207929304c862938a8df12d9d09f34abb04078f /modules
parent299664d8e8e4a20fc1fd3076588b76016930a31e (diff)
downloadhardware_libhardware-6c2a68d081a6bfc67dafd5288e9ad0e7c267ed20.zip
hardware_libhardware-6c2a68d081a6bfc67dafd5288e9ad0e7c267ed20.tar.gz
hardware_libhardware-6c2a68d081a6bfc67dafd5288e9ad0e7c267ed20.tar.bz2
Fix warnings
Change-Id: I1ba5c871a1cb44df8c383f595cbe6d75fef02aa3
Diffstat (limited to 'modules')
-rw-r--r--modules/consumerir/consumerir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/consumerir/consumerir.c b/modules/consumerir/consumerir.c
index 83eba75..87039cc 100644
--- a/modules/consumerir/consumerir.c
+++ b/modules/consumerir/consumerir.c
@@ -32,8 +32,8 @@ static const consumerir_freq_range_t consumerir_freqs[] = {
{.min = 56000, .max = 56000},
};
-static int consumerir_transmit(struct consumerir_device *dev,
- int carrier_freq, int pattern[], int pattern_len)
+static int consumerir_transmit(struct consumerir_device *dev __unused,
+ int carrier_freq, const int pattern[], int pattern_len)
{
int total_time = 0;
long i;
@@ -48,12 +48,12 @@ static int consumerir_transmit(struct consumerir_device *dev,
return 0;
}
-static int consumerir_get_num_carrier_freqs(struct consumerir_device *dev)
+static int consumerir_get_num_carrier_freqs(struct consumerir_device *dev __unused)
{
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 __unused,
size_t len, consumerir_freq_range_t *ranges)
{
size_t to_copy = ARRAY_SIZE(consumerir_freqs);