diff --git a/net/ieee802154/Makefile b/net/ieee802154/Makefile index e6ddfcd735104aea00962deaf17759f4ad06139b..88bde78754c5fc8e146fcfb846dd3c4e88c50fcb 100644 --- a/net/ieee802154/Makefile +++ b/net/ieee802154/Makefile @@ -5,6 +5,6 @@ obj-$(CONFIG_IEEE802154_6LOWPAN) += ieee802154_6lowpan.o ieee802154_6lowpan-y := 6lowpan_rtnl.o reassembly.o ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \ header_ops.o sysfs.o nl802154.o -ieee802154_socket-y := af_ieee802154.o +ieee802154_socket-y := socket.o ccflags-y += -D__CHECK_ENDIAN__ diff --git a/net/ieee802154/af_ieee802154.c b/net/ieee802154/socket.c similarity index 100% rename from net/ieee802154/af_ieee802154.c rename to net/ieee802154/socket.c