/* * Link Layer Control manager * * Copyright (C) 2012 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ #ifndef __LOCAL_LLC_H_ #define __LOCAL_LLC_H_ #include #include #include struct nfc_llc_ops { void *(*init) (struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, rcv_to_hci_t rcv_to_hci, int tx_headroom, int tx_tailroom, int *rx_headroom, int *rx_tailroom, llc_failure_t llc_failure); void (*deinit) (struct nfc_llc *llc); int (*start) (struct nfc_llc *llc); int (*stop) (struct nfc_llc *llc); void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); }; struct nfc_llc_engine { const char *name; struct nfc_llc_ops *ops; struct list_head entry; }; struct nfc_llc { void *data; struct nfc_llc_ops *ops; int rx_headroom; int rx_tailroom; }; void *nfc_llc_get_data(struct nfc_llc *llc); int nfc_llc_register(const char *name, struct nfc_llc_ops *ops); void nfc_llc_unregister(const char *name); int nfc_llc_nop_register(void); #if defined(CONFIG_NFC_SHDLC) int nfc_llc_shdlc_register(void); #else static inline int nfc_llc_shdlc_register(void) { return 0; } #endif #endif /* __LOCAL_LLC_H_ */ e' href='/cgit.cgi/linux/net-next.git/commit/Documentation?id=b7f865ede20c87073216f77fe97f6fc56666e3da'>commitdiff
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2016-10-25 01:08:31 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-10-25 12:51:06 +0200
commitb7f865ede20c87073216f77fe97f6fc56666e3da (patch)
tree573291d37796701fa707a47d79b72c857c407167 /Documentation
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ARM: dts: sun8i: fix the pinmux for UART1
When the patch is applied, the allwinner,driver and allwinner,pull properties are removed. Although they're described to be optional in the devicetree binding, without them, the pinmux cannot be initialized, and the uart cannot be used. Add them back to fix the problem, and makes the bluetooth on iNet D978 Rev2 board work. Fixes: 82eec384249f (ARM: dts: sun8i: add pinmux for UART1 at PG) Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'Documentation')