Ignore:
Timestamp:
Jun 6, 2009, 4:22:27 AM (16 years ago)
Author:
Paul Smedley
Message:

Move functions out of config.h into appropriate linux header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/linux/module.h

    r280 r441  
    5959#endif
    6060
     61#define try_inc_mod_count(x)            ++(*(unsigned long *)x)
     62#define try_module_get(x) try_inc_mod_count(x)
     63static inline void module_put(struct module *module)
     64{
     65    if (module)
     66        do {} while(0);
     67}
     68
     69#define MODULE_FIRMWARE(x)
     70#define MODULE_ALIAS(x)
     71
    6172#endif /* _LINUX_MODULE_H */
Note: See TracChangeset for help on using the changeset viewer.