pcmcia: remove pccard_sysfs_interface warnings
Make the PCMCIA core stop using class_interface to hide socket attribute registration. This removes the associated section mismatch warnings, and helps get to the point where that mechanism can finally be removed. Simplify that attribute registration by using an attribute_group. This is a net shrink in object size. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4f452e8aa4
commit
4356d73d02
@ -121,7 +121,8 @@ struct resource *pcmcia_find_mem_region(u_long base, u_long num, u_long align,
|
||||
void release_resource_db(struct pcmcia_socket *s);
|
||||
|
||||
/* In socket_sysfs.c */
|
||||
extern struct class_interface pccard_sysfs_interface;
|
||||
extern int pccard_sysfs_add_socket(struct device *dev);
|
||||
extern void pccard_sysfs_remove_socket(struct device *dev);
|
||||
|
||||
/* In cs.c */
|
||||
extern struct rw_semaphore pcmcia_socket_list_rwsem;
|
||||
|
Reference in New Issue
Block a user