viafb: make procfs entries optional
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 17 Apr 2010 19:44:57 +0000 (19:44 +0000)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:17:39 +0000 (17:17 -0600)
commit2b78a963c800252a0016785813cc5140c006145c
treed343095ca5eeff68ec69824ca87ccee2634a94ca
parent2fed547c0298e1465d62b34a75a7b76353fee7d3
viafb: make procfs entries optional

viafb: make procfs entries optional

This patch adds a config option to enable procfs entries for direct
hardware access. This was the old behaviour but the option defaults
to no as this is really ugly and should not be needed if the driver
works correct (and if it doesn't, it needs to be fixed).
That stuff is really something that should
- not be needed at all (the driver should be capable of doing it)
- not be there (debugfs would be better for such things)
So add this option just for backwards compatiblity.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/Kconfig
drivers/video/via/viafbdev.c