s3cmci: add debugfs support for examining driver and hardware state
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:17 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:15 +0000 (16:11 -0700)
commit9bdd203b4dc82e9047486f0fed1977eef8185c6d
treef547098e58f7d4f4d417a45d40d86614072db82c
parente6130aeffd93d342e72ca85cfd335d066f680792
s3cmci: add debugfs support for examining driver and hardware state

Export driver state and hardware register state via debugfs entries
created under a directory formed from dev_name() on the probed device when
CONFIG_DEBUG_FS is set.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/s3cmci.c
drivers/mmc/host/s3cmci.h