Changeset 3044

Show
Ignore:
Timestamp:
07/24/05 15:53:48 (9 years ago)
Author:
khali
Message:

Tag device find functions init, as they are called from init
functions.

Location:
lm-sensors/trunk/kernel/chips
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/it87.c

    r3000 r3044  
    251251 
    252252static int it87_attach_adapter(struct i2c_adapter *adapter); 
    253 static int it87_find(int *address); 
    254253static int it87_detect(struct i2c_adapter *adapter, int address, 
    255254                       unsigned short flags, int kind); 
     
    425424} 
    426425 
    427 static int it87_find(int *address) 
     426static int __init it87_find(int *address) 
    428427{ 
    429428        int err = -ENODEV; 
  • lm-sensors/trunk/kernel/chips/pc87360.c

    r3028 r3044  
    469469} 
    470470 
    471 static int pc87360_find(int sioaddr, u8 *devid, int *address) 
     471static int __init pc87360_find(int sioaddr, u8 *devid, int *address) 
    472472{ 
    473473        u16 val; 
  • lm-sensors/trunk/kernel/chips/sis5595.c

    r3000 r3044  
    201201static void sis5595_update_client(struct i2c_client *client); 
    202202static void sis5595_init_client(struct i2c_client *client); 
    203 static int sis5595_find_sis(int *address); 
    204203 
    205204 
     
    287286 
    288287/* Locate SiS bridge and correct base address for SIS5595 */ 
    289 static int sis5595_find_sis(int *address) 
     288static int __init sis5595_find_sis(int *address) 
    290289{ 
    291290        u16 val; 
  • lm-sensors/trunk/kernel/chips/smsc47m1.c

    r2981 r3044  
    149149static void smsc47m1_update_client(struct i2c_client *client); 
    150150static void smsc47m1_init_client(struct i2c_client *client); 
    151 static int smsc47m1_find(int *address); 
    152151 
    153152 
     
    203202} 
    204203 
    205 static int smsc47m1_find(int *address) 
     204static int __init smsc47m1_find(int *address) 
    206205{ 
    207206        u16 val; 
  • lm-sensors/trunk/kernel/chips/vt1211.c

    r2867 r3044  
    211211static void vt1211_update_client(struct i2c_client *client); 
    212212static void vt1211_init_client(struct i2c_client *client); 
    213 static int vt1211_find(int *address); 
    214213 
    215214 
     
    345344} 
    346345 
    347 static int vt1211_find(int *address) 
     346static int __init vt1211_find(int *address) 
    348347{ 
    349348        u16 val; 
  • lm-sensors/trunk/kernel/chips/vt8231.c

    r2867 r3044  
    170170static void vt8231_update_client(struct i2c_client *client); 
    171171static void vt8231_init_client(struct i2c_client *client); 
    172 static int vt8231_find(int *address); 
    173172 
    174173 
     
    307306 
    308307/* Locate chip and get correct base address */ 
    309 static int vt8231_find(int *address) 
     308static int __init vt8231_find(int *address) 
    310309{ 
    311310        u16 val; 
  • lm-sensors/trunk/kernel/chips/w83627hf.c

    r3000 r3044  
    588588} 
    589589 
    590 static int w83627hf_find(int sioaddr, int *address) 
     590static int __init w83627hf_find(int sioaddr, int *address) 
    591591{ 
    592592        u16 val;