Skip to contentSkip to conversation

PATCH - Allow more revisions in s1d13...fb driver

DISCUSSION Thibaut VARENE 1 participant 1 message Sep 24, 2008 1 message not in the archive Framebuffer layer

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 13 lines · Kristoffer Ericson

The Epson s1d13xxx hardware is common in many handhelds, but our driver is currently locked to a single chip revision. This patch adds an array of known to work revisions (which can be extended).

drivers/video/s1d13xxxfb.c +0 -0
index b829dc7..c674949 100644

drivers/video/s1d13xxxfb.c line 53

Quoted 4 lines
drivers/video/s1d13xxxfb.c +1 -0
@@ -50,6 +50,11 @@
 #define dbg(fmt, args...) do { } while (0)
 #endif
 
+static const int s1d13xxxfb_revisions[] = {

I believe this should be "static const int __devinitdata s1d13xxxfb_revisions[]" since the probe function is the only consumer.

Other than that the patch looks formally good to me, but I don't have any hw to test it against.

HTH

T-Bone

Signature · 8 lines
Thibaut VARENE
http://www.parisc-linux.org/~varenet/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/