/*****************************************************************************
* The GPL License (GPL)
*
- * Copyright (c) 2015-2018, VeriSilicon Inc.
+ * Copyright (c) 2015-2019, VeriSilicon Inc.
* Copyright (c) 2011-2014, Google Inc.
*
* This program is free software; you can redistribute it and/or
}
#ifdef CONFIG_PM
-static int hantro_suspend(struct device *dev)
+static int __maybe_unused hantro_suspend(struct device *dev)
{
pm_runtime_put_sync_suspend(dev); //power off
return 0;
}
-static int hantro_resume(struct device *dev)
+static int __maybe_unused hantro_resume(struct device *dev)
{
pm_runtime_get_sync(dev); //power on
hantro_ctrlblk_reset(dev);
/*****************************************************************************
* The GPL License (GPL)
*
- * Copyright (c) 2015-2018, VeriSilicon Inc.
+ * Copyright (c) 2015-2019, VeriSilicon Inc.
* Copyright (c) 2011-2014, Google Inc.
*
* This program is free software; you can redistribute it and/or
}
#ifdef CONFIG_PM
-static int hantro_suspend(struct device *dev)
+static int __maybe_unused hantro_suspend(struct device *dev)
{
pm_runtime_put_sync_suspend(dev); //power off
return 0;
}
-static int hantro_resume(struct device *dev)
+static int __maybe_unused hantro_resume(struct device *dev)
{
hantrodec_t *hantrodev = dev_get_drvdata(dev);
/*
* Encoder device driver (kernel module)
*
- * Copyright (c) 2013-2018, VeriSilicon Inc.
+ * Copyright (c) 2013-2019, VeriSilicon Inc.
* Copyright (C) 2012 Google Finland Oy.
*
* This program is free software; you can redistribute it and/or
}
#ifdef CONFIG_PM
-static int hantro_h1_suspend(struct device *dev)
+static int __maybe_unused hantro_h1_suspend(struct device *dev)
{
pm_runtime_put_sync_suspend(dev); //power off
return 0;
}
-static int hantro_h1_resume(struct device *dev)
+static int __maybe_unused hantro_h1_resume(struct device *dev)
{
hx280enc_t *hx280enc = dev_get_drvdata(dev);