git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
linux
/
i2c-vid.h
diff --git
a/include/linux/i2c-vid.h
b/include/linux/i2c-vid.h
index
86ed117
..
6242409
100644
(file)
--- a/
include/linux/i2c-vid.h
+++ b/
include/linux/i2c-vid.h
@@
-35,12
+35,15
@@
to avoid floating point in the kernel.
*/
to avoid floating point in the kernel.
*/
+int i2c_which_vrm(void);
+
#define DEFAULT_VRM 82
static inline int vid_from_reg(int val, int vrm)
{
switch(vrm) {
#define DEFAULT_VRM 82
static inline int vid_from_reg(int val, int vrm)
{
switch(vrm) {
-
+ case 0:
+ return 0;
case 91: /* VRM 9.1 */
case 90: /* VRM 9.0 */
return(val == 0x1f ? 0 :
case 91: /* VRM 9.1 */
case 90: /* VRM 9.0 */
return(val == 0x1f ? 0 :