linux/net/can
Alexander Aring a20fadf853 can: build proc support only if CONFIG_PROC_FS is activated
When building can subsystem with CONFIG_PROC_FS=n I detected some unused
variables warning by using proc functions. In CAN the proc handling is
nicely placed in one object file. This patch adds simple add a
dependency on CONFIG_PROC_FS for CAN's proc.o file and corresponding
static inline no-op functions.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
[mkl: provide static inline noops instead of using #ifdefs]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2016-06-17 15:39:41 +02:00
..
af_can.c can: replace timestamp as unique skb attribute 2015-07-12 21:13:22 +02:00
af_can.h can: build proc support only if CONFIG_PROC_FS is activated 2016-06-17 15:39:41 +02:00
bcm.c can: avoid using timeval for uapi 2015-10-13 17:42:34 +02:00
gw.c can: cangw: introduce optional uid to reference created routing jobs 2015-06-09 09:39:49 +02:00
Kconfig can: Kconfig: switch on all CAN protocolls by default 2013-01-26 16:58:58 +01:00
Makefile can: build proc support only if CONFIG_PROC_FS is activated 2016-06-17 15:39:41 +02:00
proc.c can: build proc support only if CONFIG_PROC_FS is activated 2016-06-17 15:39:41 +02:00
raw.c sock: enable timestamping using control messages 2016-04-04 15:50:30 -04:00