• Jean Delvare's avatar
    [PATCH] Add class definition to the elektor bus driver · 427b8e6c
    Jean Delvare authored
    Hi Frank, all,
    
    > > Which bus driver are you using? It obviously lacks class declaration,
    > > so the correct fix is to add the class there.
    >
    > The modules that are loading are (in reverse order):
    >      adm1031
    >      ad5321
    >      mic184
    >      pca9540
    >      i2c_sensor
    >      i2c_elektor
    >      i2c_algo_pcf
    >      i2c_core
    >
    > So I believe what you are asking for is the i2c_elektor driver for the
    > PCF8584 ISA to I2C chip.
    
    Correct, I just checked and this one actually lacks its class. Patch
    follows.
    
    This patch adds a class definition to the elektor i2c bus driver.
    Without this definition, hardware monitoring chips located on such
    busses cannot possibly be driven.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    427b8e6c
i2c-elektor.c 7.79 KB