pcf8591.c (310ec79210d754afe51e2e4a983e846b60179abd) | pcf8591.c (c3813d6af177fab19e322f3114b1f64fbcf08d71) |
---|---|
1/* 2 Copyright (C) 2001-2004 Aurelien Jarno <aurelien@aurel32.net> 3 Ported to Linux 2.6 by Aurelien Jarno <aurelien@aurel32.net> with 4 the help of Jean Delvare <khali@linux-fr.org> 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2 of the License, or --- 285 unchanged lines hidden (view full) --- 294 .name = "pcf8591", 295 }, 296 .probe = pcf8591_probe, 297 .remove = pcf8591_remove, 298 .id_table = pcf8591_id, 299 300 .class = I2C_CLASS_HWMON, /* Nearest choice */ 301 .detect = pcf8591_detect, | 1/* 2 Copyright (C) 2001-2004 Aurelien Jarno <aurelien@aurel32.net> 3 Ported to Linux 2.6 by Aurelien Jarno <aurelien@aurel32.net> with 4 the help of Jean Delvare <khali@linux-fr.org> 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2 of the License, or --- 285 unchanged lines hidden (view full) --- 294 .name = "pcf8591", 295 }, 296 .probe = pcf8591_probe, 297 .remove = pcf8591_remove, 298 .id_table = pcf8591_id, 299 300 .class = I2C_CLASS_HWMON, /* Nearest choice */ 301 .detect = pcf8591_detect, |
302 .address_data = &addr_data, | 302 .address_list = normal_i2c, |
303}; 304 305static int __init pcf8591_init(void) 306{ 307 if (input_mode < 0 || input_mode > 3) { 308 printk(KERN_WARNING "pcf8591: invalid input_mode (%d)\n", 309 input_mode); 310 input_mode = 0; --- 15 unchanged lines hidden --- | 303}; 304 305static int __init pcf8591_init(void) 306{ 307 if (input_mode < 0 || input_mode > 3) { 308 printk(KERN_WARNING "pcf8591: invalid input_mode (%d)\n", 309 input_mode); 310 input_mode = 0; --- 15 unchanged lines hidden --- |