From: Thadeu Lima de Souza Cascardo Date: Tue, 15 Dec 2009 02:00:23 +0000 (-0800) Subject: misc: remove MAC pmu function declaration from misc device class X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2643434c1ad400dc417865ac37610e8d3c7c1783;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Linus Torvalds --- 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) {