Build failure after merge of the drm-intel tree
Subsystems (7)
Mark Brown
maintainerAfter merging the drm-intel tree into -next an x86 allmodconfig build fails with:
In file included from include/linux/kobject.h:29:0,
from include/linux/cpufreq.h:16,
from drivers/gpu/drm/i915/intel_pm.c:28:
drivers/gpu/drm/i915/intel_pm.c: In function ‘intel_pm_init’:
drivers/gpu/drm/i915/intel_pm.c:5883:34: error: ‘struct intel_gen6_power_mgmt’ has no member named ‘vlv_work’
INIT_DELAYED_WORK(&dev_priv->rps.vlv_work, vlv_rps_timer_work);
^
include/linux/workqueue.h:216:16: note: in definition of macro ‘__INIT_WORK’
__init_work((_work), _onstack); \
^include/linux/workqueue.h:244:3: note: in expansion of macro ‘INIT_WORK’
INIT_WORK(&(_work)->work, (_func)); \
^include/linux/workqueue.h:260:2: note: in expansion of macro ‘__INIT_DELAYED_WORK’
__INIT_DELAYED_WORK(_work, _func, 0)
^drivers/gpu/drm/i915/intel_pm.c:5883:2: note: in expansion of macro ‘INIT_DELAYED_WORK’
INIT_DELAYED_WORK(&dev_priv->rps.vlv_work, vlv_rps_timer_work);
^drivers/gpu/drm/i915/intel_pm.c:5883:34: error: ‘struct intel_gen6_power_mgmt’ has no member named ‘vlv_work’
INIT_DELAYED_WORK(&dev_priv->rps.vlv_work, vlv_rps_timer_work);
^and so on caused by 671952a2a290a (drm/i915: fix rps.vlv_work initialization) in the drm-intel-fixes tree interacting with ac3a48b3036 (drm/i915: Boost RPS frequency for CPU stalls) from the drm-intel tree.
I have used the fix below for today:
From 4f4dccef92d64393e2a7e867f7c2755c09178c48 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Thu, 3 Oct 2013 18:10:55 +0100
Subject: [PATCH] drm/i915: Resolve interaction with drm-fixes tree
--- drivers/gpu/drm/i915/intel_pm.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +0 -2
@@ -5879,7 +5879,5 @@ void intel_pm_init(struct drm_device *dev)INIT_DELAYED_WORK (&dev_priv->rps.delayed_resume_work, intel_gen6_powersave_work); - -INIT_DELAYED_WORK (&dev_priv->rps.vlv_work, vlv_rps_timer_work); }
Signature · 1 line
1.8.4.rc3
Mark Brown
maintainerWhile merging the wireless-next tree into -next there were conflicts in several headers due to conflicts between various commits from Joe Perches removing extern from headers in the net-next tree and development in the wireless tree.
I've resolved this as below (sorry, got some extra stuff that resolved automatically).
drivers/net/wireless/ath/ath10k/debug.h +0 -0
@@@ -37,11 -38,13 +38,13 @@@ enum ath10k_debug_maskextern unsigned int ath10k_debug_mask; -extern __printf(1, 2) int ath10k_info(const char *fmt, ...); -extern __printf(1, 2) int ath10k_err(const char *fmt, ...); -extern __printf(1, 2) int ath10k_warn(const char *fmt, ...); +__printf(1, 2) int ath10k_info(const char *fmt, ...); +__printf(1, 2) int ath10k_err(const char *fmt, ...); +__printf(1, 2) int ath10k_warn(const char *fmt, ...);#ifdef CONFIG_ATH10K_DEBUGFS +int ath10k_debug_start (struct ath10k *ar); +void ath10k_debug_stop (struct ath10k *ar);int ath10k_debug_create (struct ath10k *ar); void ath10k_debug_read_service_map(struct ath10k *ar, void *service_map,
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c +0 -0
@@@ -464,9 -459,11 +459,9 @@@ static struct sdio_driver brcmf_sdmmc_dstatic int brcmf_sdio_pd_probe (struct platform_device *pdev) { - int ret; -brcmf_dbg (SDIO ,"Enter\n" ); - brcmfmac_sdio_pdata = pdev->dev.platform_data; + brcmfmac_sdio_pdata =dev_get_platdata (&pdev->dev);if (brcmfmac_sdio_pdata->power_on) brcmfmac_sdio_pdata->power_on ();
drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h +0 -0
@@@ -132,34 -132,34 +132,34 @@@ struct pktq *brcmf_bus_gettxq(struct br* interface functions from common layer */ -extern bool brcmf_c_prec_enq(struct device *dev, struct pktq *q, - struct sk_buff *pkt, int prec); +bool brcmf_c_prec_enq(struct device *dev, struct pktq *q, struct sk_buff *pkt, + int prec);/* Receive frame for delivery to OS. Callee disposes of rxp. */ -void brcmf_rx_frames (struct device *dev,struct sk_buff_head *rxlist); -extern void brcmf_rx_frame(struct device *dev, struct sk_buff *rxp); ++void brcmf_rx_frame(struct device *dev, struct sk_buff *rxp);/* Indication from bus module regarding presence/insertion of dongle. */ -extern int brcmf_attach(uint bus_hdrlen, struct device *dev); +int brcmf_attach(uint bus_hdrlen, struct device *dev);/* Indication from bus module regarding removal/absence of dongle */ -extern void brcmf_detach(struct device *dev); +void brcmf_detach(struct device *dev);/* Indication from bus module that dongle should be reset */ -extern void brcmf_dev_reset(struct device *dev); +void brcmf_dev_reset(struct device *dev);/* Indication from bus module to change flow-control state */ -extern void brcmf_txflowblock(struct device *dev, bool state); +void brcmf_txflowblock(struct device *dev, bool state);/* Notify the bus has transferred the tx packet to firmware */ -extern void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, - bool success); +void brcmf_txcomplete(struct device *dev, struct sk_buff *txp, bool success); -extern int brcmf_bus_start(struct device *dev); +int brcmf_bus_start(struct device *dev);#ifdef CONFIG_BRCMFMAC_SDIO -extern void brcmf_sdio_exit(void); -extern void brcmf_sdio_init(void); +void brcmf_sdio_exit(void); +void brcmf_sdio_init(void); +void brcmf_sdio_register(void);#endif #ifdef CONFIG_BRCMFMAC_USB -extern void brcmf_usb_exit(void); -extern void brcmf_usb_init(void); +void brcmf_usb_exit(void); +void brcmf_usb_register(void);#endif #endif /* _BRCMF_BUS_H_ */
drivers/net/wireless/rtlwifi/rtl8188ee/phy.h +0 -0
@@@ -200,26 -200,29 +200,25 @@@ enum _ANT_DIV_TYPECGCS_RX_SW_ANTDIV =0x05 , }; -extern u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, - u32 regaddr, u32 bitmask); -extern void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, - u32 regaddr, u32 bitmask, u32 data); -extern u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, - enum radio_path rfpath, u32 regaddr, - u32 bitmask); -extern void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, - enum radio_path rfpath, u32 regaddr, - u32 bitmask, u32 data); -extern bool rtl88e_phy_mac_config(struct ieee80211_hw *hw); -extern bool rtl88e_phy_bb_config(struct ieee80211_hw *hw); -extern bool rtl88e_phy_rf_config(struct ieee80211_hw *hw); -extern void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); -extern void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw, - long *powerlevel); -extern void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); -extern void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw); -extern void rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw, - enum nl80211_channel_type ch_type); -extern void rtl88e_phy_sw_chnl_callback(struct ieee80211_hw *hw); -extern u8 rtl88e_phy_sw_chnl(struct ieee80211_hw *hw); -extern void rtl88e_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery); +u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); +void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, + u32 data); +u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, + u32 regaddr, u32 bitmask); +void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, + u32 regaddr, u32 bitmask, u32 data); +bool rtl88e_phy_mac_config(struct ieee80211_hw *hw); +bool rtl88e_phy_bb_config(struct ieee80211_hw *hw); +bool rtl88e_phy_rf_config(struct ieee80211_hw *hw); +void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); +void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel); +void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); -void rtl88e_phy_scan_operation_backup (struct ieee80211_hw *hw,u8 operation); +void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw); +void rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw, + enum nl80211_channel_type ch_type); +void rtl88e_phy_sw_chnl_callback(struct ieee80211_hw *hw); +u8 rtl88e_phy_sw_chnl(struct ieee80211_hw *hw); +void rtl88e_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery);void rtl88e_phy_lc_calibrate (struct ieee80211_hw *hw);void rtl88e_phy_set_rfpath_switch (struct ieee80211_hw *hw,bool bmain); bool rtl88e_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
drivers/net/wireless/rtlwifi/rtl8192ce/phy.h +0 -0
@@@ -199,14 -200,15 +197,14 @@@ bool rtl92c_phy_mac_config(struct ieee8bool rtl92ce_phy_bb_config (struct ieee80211_hw *hw);bool rtl92c_phy_rf_config (struct ieee80211_hw *hw);bool rtl92c_phy_config_rf_with_feaderfile (struct ieee80211_hw *hw, - enum radio_path rfpath); + enum radio_path rfpath);void rtl92c_phy_get_hw_reg_originalvalue (struct ieee80211_hw *hw); -void rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw, - long *powerlevel); +void rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel);void rtl92c_phy_set_txpower_level (struct ieee80211_hw *hw,u8 channel); -bool rtl92c_phy_update_txpower_dbm (struct ieee80211_hw *hw,long power_indbm); -void rtl92c_phy_scan_operation_backup (struct ieee80211_hw *hw,u8 operation); +bool rtl92c_phy_update_txpower_dbm (struct ieee80211_hw *hw, +long power_indbm);void rtl92c_phy_set_bw_mode (struct ieee80211_hw *hw, - enum nl80211_channel_type ch_type); + enum nl80211_channel_type ch_type);void rtl92c_phy_sw_chnl_callback (struct ieee80211_hw *hw);u8 rtl92c_phy_sw_chnl (struct ieee80211_hw *hw);void rtl92c_phy_iq_calibrate (struct ieee80211_hw *hw,bool b_recovery);void rtl92c_phy_set_rfpath_switch (struct ieee80211_hw *hw,bool bmain);bool rtl92c_phy_config_rf_with_headerfile (struct ieee80211_hw *hw,enum radio_path rfpath); -bool rtl8192_phy_check_is_legal_rfpath (struct ieee80211_hw *hw,u32 rfpath); -bool rtl92c_phy_set_io_cmd (struct ieee80211_hw *hw,enum io_type iotype); +bool rtl8192_phy_check_is_legal_rfpath (struct ieee80211_hw *hw, +u32 rfpath);bool rtl92ce_phy_set_rf_power_state (struct ieee80211_hw *hw, - enum rf_pwrstate rfpwr_state); + enum rf_pwrstate rfpwr_state);void rtl92ce_phy_set_rf_on (struct ieee80211_hw *hw);bool rtl92c_phy_set_io_cmd (struct ieee80211_hw *hw,enum io_type iotype);void rtl92c_phy_set_io (struct ieee80211_hw *hw);
drivers/net/wireless/rtlwifi/rtl8192de/phy.h +0 -0
@@@ -127,24 -125,26 +125,23 @@@ static inline void rtl92d_release_cckan *flag); } -extern u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, - u32 regaddr, u32 bitmask); -extern void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, - u32 regaddr, u32 bitmask, u32 data); -extern u32 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, - enum radio_path rfpath, u32 regaddr, - u32 bitmask); -extern void rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, - enum radio_path rfpath, u32 regaddr, - u32 bitmask, u32 data); -extern bool rtl92d_phy_mac_config(struct ieee80211_hw *hw); -extern bool rtl92d_phy_bb_config(struct ieee80211_hw *hw); -extern bool rtl92d_phy_rf_config(struct ieee80211_hw *hw); -extern bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, - enum radio_path rfpath); -extern void rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); -extern void rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); -extern void rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw, - enum nl80211_channel_type ch_type); -extern u8 rtl92d_phy_sw_chnl(struct ieee80211_hw *hw); +u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); +void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, + u32 data); +u32 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, + u32 regaddr, u32 bitmask); +void rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, + u32 regaddr, u32 bitmask, u32 data); +bool rtl92d_phy_mac_config(struct ieee80211_hw *hw); +bool rtl92d_phy_bb_config(struct ieee80211_hw *hw); +bool rtl92d_phy_rf_config(struct ieee80211_hw *hw); +bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, + enum radio_path rfpath); +void rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); +void rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); -void rtl92d_phy_scan_operation_backup (struct ieee80211_hw *hw,u8 operation); +void rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw, + enum nl80211_channel_type ch_type); +u8 rtl92d_phy_sw_chnl(struct ieee80211_hw *hw);bool rtl92d_phy_config_rf_with_headerfile (struct ieee80211_hw *hw,enum rf_content content,enum radio_path rfpath);
drivers/net/wireless/rtlwifi/rtl8723ae/phy.h +0 -0
@@@ -183,33 -183,34 +183,30 @@@ struct tx_power_structu32 mcs_original_offset[4 ][16 ]; }; -extern u32 rtl8723ae_phy_query_bb_reg(struct ieee80211_hw *hw, - u32 regaddr, u32 bitmask); -extern void rtl8723ae_phy_set_bb_reg(struct ieee80211_hw *hw, - u32 regaddr, u32 bitmask, u32 data); -extern u32 rtl8723ae_phy_query_rf_reg(struct ieee80211_hw *hw, - enum radio_path rfpath, u32 regaddr, - u32 bitmask); -extern void rtl8723ae_phy_set_rf_reg(struct ieee80211_hw *hw, - enum radio_path rfpath, u32 regaddr, - u32 bitmask, u32 data); -extern bool rtl8723ae_phy_mac_config(struct ieee80211_hw *hw); -extern bool rtl8723ae_phy_bb_config(struct ieee80211_hw *hw); -extern bool rtl8723ae_phy_rf_config(struct ieee80211_hw *hw); -extern bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, - enum radio_path rfpath); -extern void rtl8723ae_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); -extern void rtl8723ae_phy_get_txpower_level(struct ieee80211_hw *hw, - long *powerlevel); -extern void rtl8723ae_phy_set_txpower_level(struct ieee80211_hw *hw, - u8 channel); -extern bool rtl8723ae_phy_update_txpower_dbm(struct ieee80211_hw *hw, - long power_indbm); -extern void rtl8723ae_phy_set_bw_mode_callback(struct ieee80211_hw *hw); -extern void rtl8723ae_phy_set_bw_mode(struct ieee80211_hw *hw, - enum nl80211_channel_type ch_type); -extern void rtl8723ae_phy_sw_chnl_callback(struct ieee80211_hw *hw); -extern u8 rtl8723ae_phy_sw_chnl(struct ieee80211_hw *hw); -extern void rtl8723ae_phy_iq_calibrate(struct ieee80211_hw *hw, bool recovery); +u32 rtl8723ae_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, + u32 bitmask); -void rtl8723ae_phy_set_bb_reg (struct ieee80211_hw *hw,u32 regaddr,u32 bitmask, -u32 data); -u32 rtl8723ae_phy_query_rf_reg (struct ieee80211_hw *hw, -enum radio_path rfpath,u32 regaddr, -u32 bitmask); -void rtl8723ae_phy_set_rf_reg (struct ieee80211_hw *hw, -enum radio_path rfpath,u32 regaddr,u32 bitmask, -u32 data); ++void rtl8723ae_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, ++ u32 bitmask, u32 data); ++u32 rtl8723ae_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, ++ u32 regaddr, u32 bitmask); ++void rtl8723ae_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, ++ u32 regaddr, u32 bitmask, u32 data); +bool rtl8723ae_phy_mac_config(struct ieee80211_hw *hw); +bool rtl8723ae_phy_bb_config(struct ieee80211_hw *hw); +bool rtl8723ae_phy_rf_config(struct ieee80211_hw *hw); +bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, + enum radio_path rfpath); +void rtl8723ae_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); +void rtl8723ae_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel); +void rtl8723ae_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); +bool rtl8723ae_phy_update_txpower_dbm(struct ieee80211_hw *hw, - long power_indbm); -void rtl8723ae_phy_scan_operation_backup (struct ieee80211_hw *hw,u8 operation); ++ long power_indbm); +void rtl8723ae_phy_set_bw_mode_callback(struct ieee80211_hw *hw); +void rtl8723ae_phy_set_bw_mode(struct ieee80211_hw *hw, + enum nl80211_channel_type ch_type); +void rtl8723ae_phy_sw_chnl_callback(struct ieee80211_hw *hw); +u8 rtl8723ae_phy_sw_chnl(struct ieee80211_hw *hw); +void rtl8723ae_phy_iq_calibrate(struct ieee80211_hw *hw, bool recovery);void rtl8723ae_phy_lc_calibrate (struct ieee80211_hw *hw);void rtl8723ae_phy_set_rfpath_switch (struct ieee80211_hw *hw,bool bmain); bool rtl8723ae_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,