summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2014-03-27 08:40:56 +0200
committerTerje Bergstrom <tbergstrom@nvidia.com>2014-04-10 23:12:18 -0700
commitd6de0f4244cc4e5c43854fbdccd4a6313d7a9afe (patch)
tree1135c13ecf2e9fc8d1145f41879971b35683dd5b /drivers/input
parent0bf857ab9b2fce53a936e59afee5db66720c6ead (diff)
input: cfboost: Export symbols
The GPU driver needs to register itself to the cfboost framework despite it can be compiled as a module. This patch adds necessary exports to the cfboost driver. Bug 1476801 Change-Id: Ia0be866eeb13aa3d561bcc88dc24bcda76c48b51 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/387608 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input-cfboost.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/drivers/input/input-cfboost.c b/drivers/input/input-cfboost.c
index a8de03f1c15f..024b5216c6aa 100644
--- a/drivers/input/input-cfboost.c
+++ b/drivers/input/input-cfboost.c
@@ -1,21 +1,15 @@
/*
* drivers/input/input-cfboost.c
*
- * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved.
*
- * 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; version 2 of the License.
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
+ * This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
*/
#include <linux/slab.h>
@@ -93,6 +87,7 @@ int cfb_add_device(struct device *dev)
return 0;
}
+EXPORT_SYMBOL(cfb_add_device);
void cfb_remove_device(struct device *dev)
{
@@ -105,6 +100,7 @@ void cfb_remove_device(struct device *dev)
mutex_unlock(&gpu_device_lock);
}
+EXPORT_SYMBOL(cfb_remove_device);
static void cfb_boost(struct kthread_work *w)
{