linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* MSM's mach/system.h
@ 2012-01-07 10:59 Russell King - ARM Linux
  2012-01-07 19:08 ` David Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Russell King - ARM Linux @ 2012-01-07 10:59 UTC (permalink / raw)
  To: David Brown, Daniel Walker, Bryan Huntsman
  Cc: linux-arm-msm, linux-arm-kernel

Guys,

MSM's mach/system.h is now almost empty, except for this:

extern void (*msm_hw_reset_hook)(void);

Grepping around for this, I find only one place where it's called, and
nowhere it's set:

$ grep -r msm_hw_reset_hook arch/arm/*msm* drivers/
arch/arm/mach-msm/include/mach/system.h:extern void (*msm_hw_reset_hook)(void);
arch/arm/mach-msm/smd.c:void (*msm_hw_reset_hook)(void);
arch/arm/mach-msm/smd.c:    if (msm_hw_reset_hook)
arch/arm/mach-msm/smd.c:            msm_hw_reset_hook();

As we've virtually eliminated the mach/system.h include (the only
remaining ones apart from this are the three unconverted platforms for
the restart changes), can this declaration move to somewhere else, or
can this read-only hook be removed?

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-07 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07 10:59 MSM's mach/system.h Russell King - ARM Linux
2012-01-07 19:08 ` David Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).