* [PATCH] [TRIVIAL] Blackfin: remove bfin_simple_timer.h
@ 2011-11-08 15:56 Paul Bolle
2011-11-08 18:07 ` Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2011-11-08 15:56 UTC (permalink / raw)
To: Paul Bolle; +Cc: linux-kernel
Since it was introduced in commit 1394f03221 ("blackfin architecture"),
bfin_simple_timer.h has always been unused: no file includes it and
(unsurprisingly) the macros it defines are never used.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Entirely untested (I don't have the Blackfin toolchain at hand).
arch/blackfin/include/asm/bfin_simple_timer.h | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
delete mode 100644 arch/blackfin/include/asm/bfin_simple_timer.h
diff --git a/arch/blackfin/include/asm/bfin_simple_timer.h b/arch/blackfin/include/asm/bfin_simple_timer.h
deleted file mode 100644
index 5248c13..0000000
--- a/arch/blackfin/include/asm/bfin_simple_timer.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright 2006-2008 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
- */
-
-#ifndef _bfin_simple_timer_h_
-#define _bfin_simple_timer_h_
-
-#include <linux/ioctl.h>
-
-#define BFIN_SIMPLE_TIMER_IOCTL_MAGIC 't'
-
-#define BFIN_SIMPLE_TIMER_SET_PERIOD _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 2)
-#define BFIN_SIMPLE_TIMER_START _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 6)
-#define BFIN_SIMPLE_TIMER_STOP _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 8)
-#define BFIN_SIMPLE_TIMER_READ _IO (BFIN_SIMPLE_TIMER_IOCTL_MAGIC, 10)
-
-#endif
--
1.7.4.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [TRIVIAL] Blackfin: remove bfin_simple_timer.h
2011-11-08 15:56 [PATCH] [TRIVIAL] Blackfin: remove bfin_simple_timer.h Paul Bolle
@ 2011-11-08 18:07 ` Mike Frysinger
2011-11-08 18:43 ` Paul Bolle
0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2011-11-08 18:07 UTC (permalink / raw)
To: Paul Bolle; +Cc: linux-kernel
On Tue, Nov 8, 2011 at 10:56, Paul Bolle <pebolle@tiscali.nl> wrote:
> Since it was introduced in commit 1394f03221 ("blackfin architecture"),
> bfin_simple_timer.h has always been unused: no file includes it and
> (unsurprisingly) the macros it defines are never used.
there is a driver that is out of tree that uses it, but we haven't
gotten cleaned up for merging. the header should have been kept as
part of that merge, but i imagine the initial Blackfin support was a
bit hectic (as are all initial arch ports) so it was accidentally
included.
-mike
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [TRIVIAL] Blackfin: remove bfin_simple_timer.h
2011-11-08 18:07 ` Mike Frysinger
@ 2011-11-08 18:43 ` Paul Bolle
2011-11-09 0:14 ` Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2011-11-08 18:43 UTC (permalink / raw)
To: Mike Frysinger; +Cc: linux-kernel, Jiri Kosina
On Tue, 2011-11-08 at 13:07 -0500, Mike Frysinger wrote:
> there is a driver that is out of tree that uses it, but we haven't
> gotten cleaned up for merging. the header should have been kept as
> part of that merge, but i imagine the initial Blackfin support was a
> bit hectic (as are all initial arch ports) so it was accidentally
> included.
So this header can be removed, can't it?
Paul Bolle
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] [TRIVIAL] Blackfin: remove bfin_simple_timer.h
2011-11-08 18:43 ` Paul Bolle
@ 2011-11-09 0:14 ` Mike Frysinger
0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2011-11-09 0:14 UTC (permalink / raw)
To: Paul Bolle; +Cc: linux-kernel, Jiri Kosina
On Tue, Nov 8, 2011 at 13:43, Paul Bolle wrote:
> On Tue, 2011-11-08 at 13:07 -0500, Mike Frysinger wrote:
>> there is a driver that is out of tree that uses it, but we haven't
>> gotten cleaned up for merging. the header should have been kept as
>> part of that merge, but i imagine the initial Blackfin support was a
>> bit hectic (as are all initial arch ports) so it was accidentally
>> included.
>
> So this header can be removed, can't it?
if we do remove it, it'll be via the Blackfin tree
-mike
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-09 0:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 15:56 [PATCH] [TRIVIAL] Blackfin: remove bfin_simple_timer.h Paul Bolle
2011-11-08 18:07 ` Mike Frysinger
2011-11-08 18:43 ` Paul Bolle
2011-11-09 0:14 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®