staging: nvec: Remove unnecessary externs
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cd951ddc2d
commit
ddc9bceb4c
|
@ -165,19 +165,18 @@ struct nvec_chip {
|
||||||
int state;
|
int state;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int nvec_write_async(struct nvec_chip *nvec, const unsigned char *data,
|
int nvec_write_async(struct nvec_chip *nvec, const unsigned char *data,
|
||||||
short size);
|
short size);
|
||||||
|
|
||||||
extern struct nvec_msg *nvec_write_sync(struct nvec_chip *nvec,
|
struct nvec_msg *nvec_write_sync(struct nvec_chip *nvec,
|
||||||
const unsigned char *data, short size);
|
const unsigned char *data, short size);
|
||||||
|
|
||||||
extern int nvec_register_notifier(struct nvec_chip *nvec,
|
int nvec_register_notifier(struct nvec_chip *nvec,
|
||||||
struct notifier_block *nb,
|
struct notifier_block *nb,
|
||||||
unsigned int events);
|
unsigned int events);
|
||||||
|
|
||||||
extern int nvec_unregister_notifier(struct nvec_chip *dev,
|
int nvec_unregister_notifier(struct nvec_chip *dev, struct notifier_block *nb);
|
||||||
struct notifier_block *nb);
|
|
||||||
|
|
||||||
extern void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg);
|
void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue