gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / wireless / atmel / atmel.h
blobd2aa52cf6e8b19d46483abccaebdfe422c60bd2d
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*** -*- linux-c -*- **********************************************************
4 Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
6 Copyright 2005 Dan Williams and Red Hat, Inc.
9 ******************************************************************************/
11 #ifndef _ATMEL_H
12 #define _ATMEL_H
14 typedef enum {
15 ATMEL_FW_TYPE_NONE = 0,
16 ATMEL_FW_TYPE_502,
17 ATMEL_FW_TYPE_502D,
18 ATMEL_FW_TYPE_502E,
19 ATMEL_FW_TYPE_502_3COM,
20 ATMEL_FW_TYPE_504,
21 ATMEL_FW_TYPE_504_2958,
22 ATMEL_FW_TYPE_504A_2958,
23 ATMEL_FW_TYPE_506
24 } AtmelFWType;
26 struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *,
27 int (*present_func)(void *), void * );
28 void stop_atmel_card( struct net_device *);
29 int atmel_open( struct net_device * );
31 #endif