summaryrefslogtreecommitdiffstats
path: root/drivers/char/misc.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-12-15 03:00:23 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-15 17:53:26 +0100
commit2643434c1ad400dc417865ac37610e8d3c7c1783 (patch)
tree235c7cda73e53a87cf7f30e77aed5b13a21db368 /drivers/char/misc.c
parentkernel/sys.c: fix "warning: do-while statement is not a compound statement" n... (diff)
downloadlinux-2643434c1ad400dc417865ac37610e8d3c7c1783.tar.xz
linux-2643434c1ad400dc417865ac37610e8d3c7c1783.zip
misc: remove MAC pmu function declaration from misc device class
Commit 8c8709334cec803368a432a33e0f2e116d48fe07 has removed the pmu_device_init call from misc_init, but unlike other similar commits, has not removed its declaration. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/misc.c')
-rw-r--r--drivers/char/misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 96f1cd086dd2..281edefffa0b 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -62,8 +62,6 @@ static DEFINE_MUTEX(misc_mtx);
#define DYNAMIC_MINORS 64 /* like dynamic majors */
static unsigned char misc_minors[DYNAMIC_MINORS / 8];
-extern int pmu_device_init(void);
-
#ifdef CONFIG_PROC_FS
static void *misc_seq_start(struct seq_file *seq, loff_t *pos)
{